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();
 }
예제 #3
0
 public UserDomainObject(IUserDAO iuserDAO, IAdminDAO iadminDAO, ITeacherDAO iTeacherDAO, IStudentDAO iStudentDAO)
 {
     _iUserDAO    = iuserDAO;
     _iAdminDAO   = iadminDAO;
     _iTeacherDAO = iTeacherDAO;
     _iStudentDAO = iStudentDAO;
 }
예제 #4
0
 protected FacadeBase(bool test)
 {
     _airlineDAO  = new AirlineCompany();
     _countryDAO  = new Country();
     _customerDAO = customerDAO;
     _adminDAO    = adminDAO;
     _user        = user;
     _flightDAO   = flightDAO;
     _ticketDAO   = ticketDAO;
 }
예제 #5
0
 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();
 }
예제 #6
0
 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();
 }
예제 #7
0
 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();
 }
예제 #8
0
 public AdminController(IAdminDAO _adminDAO, ICompanyDAO _companyDAO)
 {
     adminDAO   = _adminDAO;
     companyDAO = _companyDAO;
 }
예제 #9
0
파일: AdminProxy.cs 프로젝트: IllyaKh/rbs
 public AdminProxy(IAdminDAO adminDAO)
 {
     this.adminDAO = adminDAO;
 }
 public AdminServiceImpl(IAdminDAO adminDAO, SHA SHA)
 {
     this.adminDAO = adminDAO;
 }