public TratamentoController(WebProjVetContext context, IAnimalReceptoraRepository receptoraRepository, IAnimalGaranhaoRepository garanhaoRepository, IAnimalDoadoraRepository doadoraRepository, ITratamentoRepository tratamentoRepository, IServicoRepository servicoRepository ) { _context = context; _receptoraRepository = receptoraRepository; _garanhaoRepository = garanhaoRepository; _doadoraRepository = doadoraRepository; _tratamentoRepository = tratamentoRepository; _servicoRepository = servicoRepository; }
public UsuarioController(WebProjVetContext context) { _context = context; }
public ReceptoraController(WebProjVetContext context, IRepository <Receptora> receptoraRepository) { _context = context; _receptoraRepository = receptoraRepository; }
//private readonly IRepository<Doadora> _animalRepository2; //private readonly IRepository<Proprietario> _proprietarioRepository2; public DoadoraController(IAnimalDoadoraRepository animalRepository, IProprietarioRepository proprietarioRepository, WebProjVetContext webProjVetContext) { _animalRepository = animalRepository; _proprietarioRepository = proprietarioRepository; _context = webProjVetContext; }
public ProprietarioEnderecoRepository(WebProjVetContext context) { _context = context; }
public ProprietarioRepository(WebProjVetContext webProjVetContext) { _webProjVetContext = webProjVetContext; }
public ProprietarioController(IProprietarioRepository proprietarioRepository, WebProjVetContext context, IProprietarioEnderecoRepository proprietarioEnderecoRepository) { _proprietarioRepository = proprietarioRepository; _proprietarioEnderecoRepository = proprietarioEnderecoRepository; _context = context; }
public AnimalReceptoraRepository(WebProjVetContext webProjVetContext) { _webProjVetContext = webProjVetContext; }
/* Injeção de uma instancia de IServicoRepository ao criar * uma instancia de BookController */ public DoadoraAPIController(WebProjVetContext contex, IAnimalDoadoraRepository doadoraRepository) { _context = contex; _doadoraRepository = doadoraRepository; }
public FaturamentoController(WebProjVetContext webProjVetContext) { _context = webProjVetContext; }
public GaranhaoController(IAnimalGaranhaoRepository animalGaranhaoRepository, WebProjVetContext context) { _animalGaranhaoRepository = animalGaranhaoRepository; _context = context; }
public ServicoRepository(WebProjVetContext webProjVetContext) { _webProjVetContext = webProjVetContext; }
public TratamentoRepository(WebProjVetContext webProjVetContext) { _webProjVetContext = webProjVetContext; }
public EmpresaController(WebProjVetContext context) { _context = context; }
public AnimalGaranhaoRepository(WebProjVetContext webProjVetContext) { _webProjVetContext = webProjVetContext; }