Ejemplo n.º 1
0
 public FriendService(FriendRepository friendRepository,
                      UserService userService,
                      PlaylistService playlistService,
                      IUnitOfWork unitOfWork) : base(friendRepository, unitOfWork)
 {
     _friendRepository = friendRepository;
     _userService      = userService;
     _playlistService  = playlistService;
     _unitOfWork       = unitOfWork;
 }
Ejemplo n.º 2
0
 public SongService(SongRepository songRepository,
                    PlaylistService playlistService,
                    SpotifyAPIService spotifyAPIService,
                    YoutubeAPIService youtubeAPIService,
                    IRepository <UserLike> userLikeRepository,
                    IRepository <UserPlaylist> userPlaylistRepository,
                    IUnitOfWork unitOfWork) : base(songRepository, unitOfWork)
 {
     _songRepository         = songRepository;
     _playlistService        = playlistService;
     _spotifyAPIService      = spotifyAPIService;
     _youtubeAPIService      = youtubeAPIService;
     _userLikeRepository     = userLikeRepository;
     _userPlaylistRepository = userPlaylistRepository;
     _unitOfWork             = unitOfWork;
 }