Method | Description | |
---|---|---|
AddFavorite ( int favoriteUserId, int favoriteItemId, ItemType favoriteItemType ) : int? | ||
DeleteFavorite ( int favoriteId ) : bool | ||
FavoriteForId ( int favoriteId ) : Favorite | ||
FavoriteRepository ( IDatabase database, IAlbumArtistRepository albumArtistRepository, IAlbumRepository albumRepository, IArtistRepository artistRepository, IFolderRepository folderRepository, IGenreRepository genreRepository, IPlaylistRepository playlistRepository, ISongRepository songRepository, IVideoRepository videoRepository, IItemRepository itemRepository ) : System | ||
FavoritesForAlbumArtistId ( int albumArtistId, int userId ) : IList |
||
FavoritesForArtistId ( int artistId, int userId ) : IList |
||
FavoritesForUserId ( int userId ) : IList |
||
ItemsForFavorites ( IList |
||
ItemsForUserId ( int userId ) : IList |
public AddFavorite ( int favoriteUserId, int favoriteItemId, ItemType favoriteItemType ) : int? | ||
favoriteUserId | int | |
favoriteItemId | int | |
favoriteItemType | ItemType | |
return | int? |
public DeleteFavorite ( int favoriteId ) : bool | ||
favoriteId | int | |
return | bool |
public FavoriteForId ( int favoriteId ) : Favorite | ||
favoriteId | int | |
return | Favorite |
public FavoriteRepository ( IDatabase database, IAlbumArtistRepository albumArtistRepository, IAlbumRepository albumRepository, IArtistRepository artistRepository, IFolderRepository folderRepository, IGenreRepository genreRepository, IPlaylistRepository playlistRepository, ISongRepository songRepository, IVideoRepository videoRepository, IItemRepository itemRepository ) : System | ||
database | IDatabase | |
albumArtistRepository | IAlbumArtistRepository | |
albumRepository | IAlbumRepository | |
artistRepository | IArtistRepository | |
folderRepository | IFolderRepository | |
genreRepository | IGenreRepository | |
playlistRepository | IPlaylistRepository | |
songRepository | ISongRepository | |
videoRepository | IVideoRepository | |
itemRepository | IItemRepository | |
return | System |
public FavoritesForAlbumArtistId ( int albumArtistId, int userId ) : IList |
||
albumArtistId | int | |
userId | int | |
return | IList |
public FavoritesForArtistId ( int artistId, int userId ) : IList |
||
artistId | int | |
userId | int | |
return | IList |
public FavoritesForUserId ( int userId ) : IList |
||
userId | int | |
return | IList |
public ItemsForFavorites ( IList |
||
favorites | IList |
|
return | IList |