Exemplo n.º 1
0
 public HomeController(ITreck trecks, IGenres genres, IAlbums albums, IArtist artist)
 {
     _trecks = trecks;
     _genres = genres;
     _albums = albums;
     _artist = artist;
 }
Exemplo n.º 2
0
 public MusicController(ITreck trecks, IPlaylist playlists, IPlaylistTreck playlistsTreck, IGenres genres, IAlbums albums, IArtist artist)
 {
     _trecks         = trecks;
     _playlists      = playlists;
     _playlistsTreck = playlistsTreck;
     _genres         = genres;
     _albums         = albums;
     _artist         = artist;
 }
Exemplo n.º 3
0
 public ArtistController(UserManager <DbUser> userManager, IUser myUser, ITreck trecks, IPlaylist playlists, IPlaylistTreck playlistsTreck, IGenres genres, IAlbums albums, IArtist artist)
 {
     _userManager    = userManager;
     _myUser         = myUser;
     _trecks         = trecks;
     _playlists      = playlists;
     _playlistsTreck = playlistsTreck;
     _genres         = genres;
     _albums         = albums;
     _artist         = artist;
 }
Exemplo n.º 4
0
 public Player(ITreck player)
 {
     _player = player;
 }
 public PlaylistTreckRepositor(EFContext context, ITreck trecks)
 {
     _context = context;
     _trecks  = trecks;
 }