public static List <object> AuthResult(Authenticates.CriteriaInfo criteriaInfo) { Authenticates authenticate = Authenticates.GetData(criteriaInfo); List <object> res = new List <object>((IEnumerable <object>)authenticate); return(res); }
public static bool AuthenticateUser(Authenticates.CriteriaInfo criteriaInfo) { Authenticates authenticate = Authenticates.GetData(criteriaInfo); if (authenticate.Count > 0) { return(true); } else { return(false); } }
public static int AuthenticateUser(Authenticates.CriteriaInfo criteriaInfo) { Authenticates authenticate = Authenticates.GetData(criteriaInfo); List <object> res = new List <object>((IEnumerable <object>)authenticate); if (authenticate.Count > 0) { return(authenticate.Count); } else { return(0); } }
public static Authenticates Result(Authenticates.CriteriaInfo criteriaInfo) { Authenticates authenticate = Authenticates.GetData(criteriaInfo); return(authenticate); }