Example #1
0
 public bool Update(User user, string lastName, string firstName, string patronymic, string email, string phone, string password)
 {
     try
     {
         return(_usersDAO.Update(user, lastName, firstName, patronymic, email, phone, password));
     }
     catch (Exception ex)
     {
         Logger.Log.Error(ex.Message);
         return(false);
     }
 }
Example #2
0
 public void Update(User user, string newName, DateTime newDateOfBirth)
 {
     _usersDAO.Update(user, newName, newDateOfBirth);
 }