Exemple #1
0
 public void login(string userName, string password, out LoginToken <object> token, out FacadeBase facade)
 {
     loginService.Login(userName, password, out LoginToken <object> l, out FacadeBase f);
     token  = l;
     facade = f;
 }
 public List <AirlineAuth> GetRequests(LoginToken <Administrator> token)
 {
     return(new AirlineAuthDAOPGSQL().GetAll());
 }
 public void UpdateCustomerDetails(LoginToken <Administrator> token, Customer customer)
 {
     _customerDAOPGSQL.Update(customer);
 }
 public List <Customer> GetAllCustomers(LoginToken <Administrator> token)
 {
     return(_customerDAOPGSQL.GetAll());
 }
 public void UpdateAirlineDetails(LoginToken <Administrator> token, AirlineCompany airline)
 {
     _airlineDAOPGSQL.Update(airline);
 }