public MusicaController(IMusicaService musicaService, IAlbumService albumService, IGeneroService generoService) { _musicaService = musicaService; _albumService = albumService; _generoService = generoService; }
public MusicaController(IMusicaRepository musicaRepository, IMusicaService musicaService, IMapper mapper, INotificador notificador) : base(notificador) { _musicaRepository = musicaRepository; _musicaService = musicaService; _mapper = mapper; }
public MusicaController(IMusicaService service, IMapper mapper) { _service = service; _mapper = mapper; }
public MusicaController(IMusicaService musicaService) { _musicaService = musicaService; }
public void IniciarTestes() { _repositoryMoq = new Mock <MusicaRepositoryMoq>(); _musicaService = new MusicaService(_repositoryMoq.Object); }