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); } }
public void Update(User user, string newName, DateTime newDateOfBirth) { _usersDAO.Update(user, newName, newDateOfBirth); }