public IfEmailExists ( string email ) : bool | ||
string | ||
Результат | bool |
public bool IfEmailExists(string email)
{
var item = uOW.UserRepo.Get().Where(s => (s.Email.ToUpper() == email.ToUpper())).FirstOrDefault();
if (item != null)
{
return true;
}
return false;
}