Created
November 12, 2012 16:52
-
-
Save jasondentler/4060468 to your computer and use it in GitHub Desktop.
IMediaService
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace DWH.Website | |
{ | |
public static class IMediaService | |
{ | |
public interface Community | |
{ | |
/// <summary> | |
/// Saves an image on the server and returns the url | |
/// </summary> | |
/// <param name="data">Contents on the image file</param> | |
/// <param name="extension">File extension, including the period, as returned by Path.GetExtension</param> | |
/// <returns>The relative url to the media item</returns> | |
Uri SaveCommunityImage(byte[] data, string extension); | |
Uri SaveSmallGoogleMapsOverride(byte[] data, string extension); | |
Uri SaveLargeGoogleMapsOverride(byte[] data, string extension); | |
Uri SavePlatMap(byte[] data, string extension); | |
Uri SaveVirtualTour(byte[] data, string extension); | |
} | |
public interface SalesConsultant | |
{ | |
Uri SavePhoto(byte[] data, string extension); | |
} | |
public interface School | |
{ | |
Uri SavePhoto(byte[] data, string extension); | |
} | |
public interface FloorPlan | |
{ | |
Uri SaveExteriorRendering(byte[] data, string extension); | |
Uri SaveExteriorPhoto(byte[] data, string extension); | |
Uri SaveInteriorPhoto(byte[] data, string extension); | |
Uri SaveVirtualTour(byte[] data, string extension); | |
} | |
public interface Showcase | |
{ | |
Uri SaveExteriorRendering(byte[] data, string extension); | |
Uri SaveExteriorPhoto(byte[] data, string extension); | |
Uri SaveInteriorPhoto(byte[] data, string extension); | |
Uri SaveVirtualTour(byte[] data, string extension); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment