public static bool ValidateUser User user return string IsNullOrEmpty

1
2
3
4
5
6
7
8
public static bool ValidateUser(User user)
{
return !(string.IsNullOrEmpty(user.First) ||
string.IsNullOrEmpty(user.Last) ||
string.IsNullOrEmpty(user.Middle) ||
string.IsNullOrEmpty(user.Position) ||
string.IsNullOrEmpty(user.Phone));
}