C# Class mobSocial.WebApi.Controllers.ArtistPageController

Inheritance: mobSocial.WebApi.Configuration.Mvc.RootApiController
Mostra file Open project: mobsoftware/mobsocial

Public Methods

Method Description
ArtistPageController ( IMediaService pictureService, IUserService userService, UserSettings customerSettings, MediaSettings mediaSettings, IArtistPageService artistPageService, IArtistPageApiService artistPageApiService, IArtistPageManagerService artistPageManagerService, ISongService songService, IArtistPagePaymentService artistPagePaymentService, IMusicService musicService, IFriendService friendService ) : System
RemoteArtist ( string remoteEntityId ) : IHttpActionResult

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

Private Methods

Method Description
CanDelete ( ArtistPage artistPage ) : bool
CanEdit ( ArtistPage ArtistPage ) : bool
DeleteArtistPage ( int artistPageId ) : IHttpActionResult
DeletePageManager ( int artistPageId, int customerId ) : IHttpActionResult
Editor ( int artistPageId ) : IHttpActionResult
Get ( int id ) : IHttpActionResult
GetArtistNameAvailability ( string name ) : IHttpActionResult
GetArtistSongPreviewUrl ( string trackId ) : IHttpActionResult
GetArtistSongs ( string artistName ) : IHttpActionResult
GetArtistSongsByArtistPage ( int artistPageId ) : IHttpActionResult
GetEligibleManagers ( int artistPageId ) : IHttpActionResult
GetPageManagers ( int artistPageId ) : IHttpActionResult
GetPagesAsManager ( ) : IHttpActionResult
GetPaymentMethod ( int artistPageId ) : IHttpActionResult
GetPurchasedSongs ( int artistPageId, int Count = 15, int Page = 1 ) : IHttpActionResult
GetRelatedArtists ( int artistId ) : IHttpActionResult
IsArtistPageNameAvailable ( string name, string &artistJson ) : bool
MyArtistPages ( string search = "", int count = 15, int page = 1 ) : IHttpActionResult
SaveArtist ( ArtistPageModel model ) : IHttpActionResult
SavePageManager ( int artistPageId, int customerId ) : IHttpActionResult
SavePaymentMethod ( ArtistPagePaymentModel Model ) : IHttpActionResult
SaveRemoteArtistToDB ( string artistJson ) : ArtistPage
Search ( string term, int Count = 15, int Page = 1, bool SearchDescriptions = false ) : IHttpActionResult
UpdateArtistData ( Microsoft.Owin.FormCollection parameters ) : IHttpActionResult
UploadPicture ( int artistPageId, IEnumerable file ) : IHttpActionResult

Method Details

ArtistPageController() public method

public ArtistPageController ( IMediaService pictureService, IUserService userService, UserSettings customerSettings, MediaSettings mediaSettings, IArtistPageService artistPageService, IArtistPageApiService artistPageApiService, IArtistPageManagerService artistPageManagerService, ISongService songService, IArtistPagePaymentService artistPagePaymentService, IMusicService musicService, IFriendService friendService ) : System
pictureService IMediaService
userService IUserService
customerSettings mobSocial.Data.Entity.Settings.UserSettings
mediaSettings mobSocial.Data.Entity.Settings.MediaSettings
artistPageService IArtistPageService
artistPageApiService IArtistPageApiService
artistPageManagerService IArtistPageManagerService
songService ISongService
artistPagePaymentService IArtistPagePaymentService
musicService IMusicService
friendService IFriendService
return System

RemoteArtist() public method

Imports a new artist from remote api if it doesn't exist in our database
public RemoteArtist ( string remoteEntityId ) : IHttpActionResult
remoteEntityId string
return IHttpActionResult