Exemple #1
0
 public MusicaController(IMusicaService musicaService,
                         IAlbumService albumService,
                         IGeneroService generoService)
 {
     _musicaService = musicaService;
     _albumService  = albumService;
     _generoService = generoService;
 }
Exemple #2
0
 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;
 }
Exemple #5
0
 public void IniciarTestes()
 {
     _repositoryMoq = new Mock <MusicaRepositoryMoq>();
     _musicaService = new MusicaService(_repositoryMoq.Object);
 }