public HomeController(DbContext context, ConnectionMultiplexer connection, IAdminDAO adminDAO, IAdminService adminService) { this.context = (OnlineCustomerServiceContext)context; this.connection = connection; this.adminDAO = adminDAO; this.adminService = adminService; }
public LoginService() { _adminDAO = new AdminDAOPGSQL(); _customerDAO = new CustomerDAOPGSQL(); _airlineDAO = new AirlineDAOPGSQL(); _userDAO = new UserDAOPGSQL(); }
public UserDomainObject(IUserDAO iuserDAO, IAdminDAO iadminDAO, ITeacherDAO iTeacherDAO, IStudentDAO iStudentDAO) { _iUserDAO = iuserDAO; _iAdminDAO = iadminDAO; _iTeacherDAO = iTeacherDAO; _iStudentDAO = iStudentDAO; }
protected FacadeBase(bool test) { _airlineDAO = new AirlineCompany(); _countryDAO = new Country(); _customerDAO = customerDAO; _adminDAO = adminDAO; _user = user; _flightDAO = flightDAO; _ticketDAO = ticketDAO; }
public FacadeBase(bool testMode) { GlobalConfig.GetConfiguration(testMode); _airlineDAO = new AirlineDAOPGSQL(); _countryDAO = new CountryDAOPGSQL(); _customerDAO = new CustomerDAOPGSQL(); _adminDAO = new AdminDAOPGSQL(); _userDAO = new UserDAOPGSQL(); _flightDAO = new FlightDAOPGSQL(); _ticketDAO = new TicketDAOPGSQL(); }
protected FacadeBase() { _airlineDAO = new AirlineDAOPGSQL(); _countryDAO = new CountryDAOPGSQL(); _customerDAO = new CustomerDAOPGSQL(); _adminDAO = new AdminDAOPGSQL(); _userDAO = new UserDAOPGSQL(); _flightDAO = new FlightDAOPGSQL(); _ticketDAO = new TicketDAOPGSQL(); _flightsTicketsHistoryDAO = new FlightsTicketsHistoryDAOPGSQL(); }
public FacadeBase() { _airlineDAO = new AirlineDAO(); _countryDAO = new CountryDAO(); _customerDAO = new CustomerDAO(); _flightDAO = new FlightDAO(); _ticketDAO = new TicketDAO(); _userRoleDAO = new UserRoleDAO(); _userRepositoryDAO = new UserRepositoryDAO(); _adminDAO = new AdminDAO(); }
public AdminController(IAdminDAO _adminDAO, ICompanyDAO _companyDAO) { adminDAO = _adminDAO; companyDAO = _companyDAO; }
public AdminProxy(IAdminDAO adminDAO) { this.adminDAO = adminDAO; }
public AdminServiceImpl(IAdminDAO adminDAO, SHA SHA) { this.adminDAO = adminDAO; }