C# 클래스 mobSocial.WebApi.Controllers.SongController

상속: mobSocial.WebApi.Configuration.Mvc.RootApiController
파일 보기 프로젝트 열기: mobsoftware/mobsocial

공개 메소드들

메소드 설명
Index ( int id ) : IHttpActionResult
PageNotFound ( ) : ActionResult
RemoteSong ( string RemoteEntityId ) : ActionResult

Imports a new song from remote api if it doesn't exist in our database

ShareSong ( int TrackId, string RemoteTrackId = "" ) : ActionResult
SharedSongs ( ) : ActionResult

The shared songs page for user's profile

SongController ( ILocalizationService localizationService, IPictureService pictureService, ICustomerService customerService, IDateTimeHelper dateTimeHelper, CustomerSettings customerSettings, MediaSettings mediaSettings, IArtistPageService artistPageService, IArtistPageAPIService artistPageApiService, ISongService songService, IMusicService musicService, mobSocialSettings mobSocialSettings, IMobSocialService mobSocialService, IWorkContext workContext, IMobSocialMessageService mobsocialMessageService, ISharedSongService sharedSongService, IStoreContext storeContext, IProductService productService, IDownloadService downloadService, IPriceFormatter priceFormatter ) : System

비공개 메소드들

메소드 설명
CanDelete ( Song Song ) : bool
CanEdit ( Song Song ) : bool
DeleteSong ( int SongId ) : ActionResult
GetReceivedSongs ( int Count = 15, int Page = 1 ) : ActionResult
GetSharedSongs ( int Count = 15, int Page = 1 ) : ActionResult
GetSimilarSongs ( string RemoteTrackId, int Count = 5 ) : ActionResult
GetSongPreviewUrl ( string TrackId, int SongId ) : ActionResult
SaveRemoteSongToDB ( string songJson ) : Song
SaveSong ( SongModel model ) : ActionResult
Search ( string Term, int Count = 15, int Page = 1, bool SearchDescriptions = false, bool SearchArtists = false, string ArtistName = "" ) : ActionResult
ShareSong ( int TrackId, int CustomerIds, string Message = "", string RemoteTrackId = "" ) : ActionResult
SongEditor ( int ArtistPageId ) : ActionResult
UpdateSongData ( FormCollection Parameters ) : ActionResult
UploadPicture ( int SongId, IEnumerable file ) : ActionResult
UploadSongFile ( int SongId, string FieldName, System.Web.HttpPostedFileBase File ) : ActionResult

메소드 상세

Index() 공개 메소드

public Index ( int id ) : IHttpActionResult
id int
리턴 IHttpActionResult

PageNotFound() 공개 메소드

public PageNotFound ( ) : ActionResult
리턴 ActionResult

RemoteSong() 공개 메소드

Imports a new song from remote api if it doesn't exist in our database
public RemoteSong ( string RemoteEntityId ) : ActionResult
RemoteEntityId string
리턴 ActionResult

ShareSong() 공개 메소드

public ShareSong ( int TrackId, string RemoteTrackId = "" ) : ActionResult
TrackId int
RemoteTrackId string
리턴 ActionResult

SharedSongs() 공개 메소드

The shared songs page for user's profile
public SharedSongs ( ) : ActionResult
리턴 ActionResult

SongController() 공개 메소드

public SongController ( ILocalizationService localizationService, IPictureService pictureService, ICustomerService customerService, IDateTimeHelper dateTimeHelper, CustomerSettings customerSettings, MediaSettings mediaSettings, IArtistPageService artistPageService, IArtistPageAPIService artistPageApiService, ISongService songService, IMusicService musicService, mobSocialSettings mobSocialSettings, IMobSocialService mobSocialService, IWorkContext workContext, IMobSocialMessageService mobsocialMessageService, ISharedSongService sharedSongService, IStoreContext storeContext, IProductService productService, IDownloadService downloadService, IPriceFormatter priceFormatter ) : System
localizationService ILocalizationService
pictureService IPictureService
customerService ICustomerService
dateTimeHelper IDateTimeHelper
customerSettings CustomerSettings
mediaSettings mobSocial.Data.Entity.Settings.MediaSettings
artistPageService IArtistPageService
artistPageApiService IArtistPageAPIService
songService ISongService
musicService IMusicService
mobSocialSettings mobSocialSettings
mobSocialService IMobSocialService
workContext IWorkContext
mobsocialMessageService IMobSocialMessageService
sharedSongService ISharedSongService
storeContext IStoreContext
productService IProductService
downloadService IDownloadService
priceFormatter IPriceFormatter
리턴 System