public ReservaController(ReservaDAO reservaDAO,
                          QuartoDAO quartoDAO, PetDAO petDAO, ServicoDAO servicoDAO, ClienteDAO clienteDAO, ItemVendaDAO itemVendaDAO)
 {
     _reservaDAO   = reservaDAO;
     _quartoDAO    = quartoDAO;
     _petDAO       = petDAO;
     _servicoDAO   = servicoDAO;
     _clienteDAO   = clienteDAO;
     _itemVendaDAO = itemVendaDAO;
 }
Exemple #2
0
 public QuartoAPIController(QuartoDAO quartoDAO)
 {
     _quartoDAO = quartoDAO;
 }
Exemple #3
0
 public ReservaController(ReservaDAO reservaDAO,
                          QuartoDAO quartoDAO)
 {
     _reservaDAO = reservaDAO;
     _quartoDAO  = quartoDAO;
 }