public void AddUser() { var userDetails = new UserAddModel { FirstName = FirstName, LastName = LastName, Email = Email, Password = Password, ConfirmPassword = ConfirmPassword }; _userEndpoint.AddUser(userDetails); }