public void AddUser(string login, string password)
        {
            User userDAL = new User
            {
                Login    = login,
                Password = password,
            };

            _dal.AddUser(userDAL);
        }
Ejemplo n.º 2
0
 public bool AddUser(UserDTO user)
 {
     return(_dal.AddUser(Convertation.ToUserDAL(user)));
 }