Beispiel #1
0
 public TrackService(ITrackRepository track, IPlayListsRepository playLists,
                     ITrackPlayListRepository trackPlayList)
 {
     _track         = track;
     _playLists     = playLists;
     _trackPlayList = trackPlayList;
 }
Beispiel #2
0
 public PlayListService
 (
     IPlayListsRepository playLists,
     IUserPlayListRepository userPlayList,
     ITrackPlayListRepository trackPlayList,
     IUserRepository user
 )
 {
     _playLists     = playLists;
     _userPlayList  = userPlayList;
     _trackPlayList = trackPlayList;
     _user          = user;
 }