private bool MatchingEmails(int index, string email) { List <string> res = Account.GetAllEmails(); foreach (string ac in res) { if (ac == email) { return(true); } } return(false); }
private bool MatchingEmails(int index, string email) { List <string> res = Account.GetAllEmails(); foreach (string ac in res) { if (ac == email) { return(true); } } return(false); }