示例#1
0
        public static async Task <bool> CheckUserEsitanceViaMobile(string Mobile)
        {
            try
            {
                if (Mobile.Trim() != string.Empty)
                {
                    RepoBase <User> MakeRepo = new RepoBase <User>("Makes");
                    var             retval   = await MakeRepo.FindExistance("Mobile", Mobile);

                    return(retval);
                }
                else
                {
                    return(false);
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }