public bool IsValid(UserViewModel user) { return(userModel.IsValidUser(user.UserName, user.Password)); }