public void AddUser(string login, string password) { User userDAL = new User { Login = login, Password = password, }; _dal.AddUser(userDAL); }
public bool AddUser(UserDTO user) { return(_dal.AddUser(Convertation.ToUserDAL(user))); }
public void AddUser(string login, string password) { User userDAL = new User { Login = login, Password = password, }; _dal.AddUser(userDAL); }
public bool AddUser(UserDTO user) { return(_dal.AddUser(Convertation.ToUserDAL(user))); }