Beispiel #1
0
 public IEnumerable <string> Validate()
 {
     if (!string.IsNullOrEmpty(_userName) && _userManagementRepository.UserExists(_userName).Result) //poprawi�
     {
         yield return(ErrorCodes.USER_EXISTS.ToString());
     }
 }