Ejemplo n.º 1
0
 internal LoggedInAirlineFacade(LoginToken <AirlineCompany> token)
 {
     LoginToken  = token;
     _ticketDAO  = new DAOs.TicketDAOMSSQL();
     _flightDAO  = new DAOs.FlightDAOMSSQL();
     _airlineDAO = new DAOs.AirlineDAOMSSQL();
 }
 internal LoggedInAdministratorFacade(LoginToken <Administrator> token)
 {
     LoginToken        = token;
     _administratorDAO = new DAOs.AdministratorDAOMSSQL();
     _airlineDAO       = new DAOs.AirlineDAOMSSQL();
     _customerDAO      = new DAOs.CustomerDAOMSSQL();
     _flightDAO        = new DAOs.FlightDAOMSSQL();
     _ticketDAO        = new DAOs.TicketDAOMSSQL();
     _customerDAO      = new DAOs.CustomerDAOMSSQL();
     _generalDAO       = new DAOs.GeneralDAOMSSQL();
     _countryDAO       = new DAOs.CountryDAOMSSQL();
 }
 internal LoggedInCustomerFacade(LoginToken <Customer> token)
 {
     LoginToken = token;
     _ticketDAO = new DAOs.TicketDAOMSSQL();
     _flightDAO = new DAOs.FlightDAOMSSQL();
 }