Example #1
0
 public AlbumController(IAlbumRepository albumRepository, AlbumService albumService, SpotifyContext contexto, IAvaliacaoRepository avaliacaoRepository)
 {
     this.albumRepository     = albumRepository;
     this.albumService        = albumService;
     this.contexto            = contexto;
     this.avaliacaoRepository = avaliacaoRepository;
 }
 public MusicaController(IMusicaRepository musicaRepository, MusicaService musicaService, IAlbumRepository albumRepository, SpotifyContext contexto)
 {
     this.musicaRepository = musicaRepository;
     this.musicaService    = musicaService;
     this.albumRepository  = albumRepository;
     this.contexto         = contexto;
 }
Example #3
0
 public AlbumController(IAlbumRepository albumRepository, IMusicaRepository musicaRepository, AlbumService albumService, SpotifyContext contexto)
 {
     this.albumRepository  = albumRepository;
     this.musicaRepository = musicaRepository;
     this.albumService     = albumService;
     this.contexto         = contexto;
 }
Example #4
0
 public UsuarioController(IUsuarioRepository usuarioRepository, IMusicaRepository musicaRepository, UsuarioService usuarioService, SpotifyContext contexto)
 {
     this.usuarioRepository = usuarioRepository;
     this.usuarioService    = usuarioService;
     this.contexto          = contexto;
     this.musicaRepository  = musicaRepository;
 }
 public MusicasController(IMusicaRepository musicaRepository, MusicaService musicaService,
                          IAlbumRepository albumRepository, SpotifyContext contexto, IAvaliacaoRepository avaliacaoRepository)
 {
     this.musicaRepository    = musicaRepository;
     this.musicaService       = musicaService;
     this.albumRepository     = albumRepository;
     this.contexto            = contexto;
     this.avaliacaoRepository = avaliacaoRepository;
 }
Example #6
0
 public UsuarioController(IUsuarioRepository usuarioRepository,
                          UsuarioService usuarioService, SpotifyContext contexto,
                          IAvaliacaoRepository avaliacaoRepository, AvaliacaoService avaliacaoService,
                          IMusicaRepository musicaRepository)
 {
     this.usuarioRepository   = usuarioRepository;
     this.usuarioService      = usuarioService;
     this.contexto            = contexto;
     this.avaliacaoRepository = avaliacaoRepository;
     this.avaliacaoService    = avaliacaoService;
     this.musicaRepository    = musicaRepository;
 }
Example #7
0
 public UsuarioController(IUsuarioRepository usuarioRepository,
                          UsuarioService usuarioService,
                          IMusicaRepository musicaRepository,
                          AvaliacaoService avaliacaoService,
                          SpotifyContext contexto,
                          IOptions <SecuritySettings> settings)
 {
     this.usuarioRepository = usuarioRepository;
     this.usuarioService    = usuarioService;
     this.avaliacaoService  = avaliacaoService;
     this.musicaRepository  = musicaRepository;
     this.contexto          = contexto;
     this.settings          = settings;
 }
Example #8
0
 public UsuarioRepository(SpotifyContext contexto)
 {
     this.contexto = contexto;
 }
Example #9
0
 public AlbumRepository(SpotifyContext contexto)
 {
     this.contexto = contexto;
 }
 public MusicaRepository(SpotifyContext contexto)
 {
     this.contexto = contexto;
 }
 public AlbumRepository(SpotifyContext spotifyContext)
 {
     this.contexto = spotifyContext;
 }
Example #12
0
 public SpotifyController(SpotifyContext context)
 {
     _context = context;
 }
 public AvaliacaoRepository(SpotifyContext contexto, IAlbumRepository albumRepository)
 {
     this.contexto        = contexto;
     this.albumRepository = albumRepository;
 }
Example #14
0
 public Spotify(SpotifyContext db)
 {
     this.db = db;
 }