public static bool ValidateEmail(string email) { AuthencationRepo _aobj = new AuthencationRepo(); bool Flag = false; if (email.Contains("@") && email.Contains(".com") && _aobj.Register(email)) { Flag = true; } return(Flag); }
public AuthencationBusiness() { _authRepo = new AuthencationRepo(); }