Пример #1
0
 public List <AbstractUser> GetUsers(bool restaurantAdmins = false)
 {
     return(UserDatabaseHandler.GetUsers(restaurantAdmins));
 }
Пример #2
0
 public void UpdateUser(AbstractUser user)
 {
     UserDatabaseHandler.UpdateUser(user);
 }
Пример #3
0
 public AbstractUser GetUser(int id, string username = "", string email = "", int restaurantId = 0,
                             string restaurantName   = "")
 {
     return(UserDatabaseHandler.GetUser(id, username, email, restaurantId, restaurantName));
 }
Пример #4
0
 public void InsertUser(AbstractUser user)
 {
     UserDatabaseHandler.InsertUser(user);
 }