public User ValidateLogin(string username, string password)
 {
     if (string.IsNullOrWhiteSpace(username) || string.IsNullOrWhiteSpace(password))
     {
         return(null);
     }
     return(repo.GetUser(username, password));
 }