コード例 #1
0
        public static List <object> AuthResult(Authenticates.CriteriaInfo criteriaInfo)
        {
            Authenticates authenticate = Authenticates.GetData(criteriaInfo);
            List <object> res          = new List <object>((IEnumerable <object>)authenticate);

            return(res);
        }
コード例 #2
0
        public static bool AuthenticateUser(Authenticates.CriteriaInfo criteriaInfo)
        {
            Authenticates authenticate = Authenticates.GetData(criteriaInfo);

            if (authenticate.Count > 0)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
コード例 #3
0
        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);
            }
        }
コード例 #4
0
        public static Authenticates Result(Authenticates.CriteriaInfo criteriaInfo)
        {
            Authenticates authenticate = Authenticates.GetData(criteriaInfo);

            return(authenticate);
        }