Esempio n. 1
0
        public async Task <ResultObj <SysQueryEntity> > FindAllPage(DtoSearch inSearch)
        {
            var reObj  = new ResultObj <SysQueryEntity>();
            var reList = await dal.FindAllS <SysQueryEntity, KV>(inSearch);

            reObj.dataList = reList.Item1.ToList();
            if (reList.Item2 != null && reList.Item2.Count() > 0)
            {
                reObj.msg = reList.Item2.ToList()[0].v;
            }
            return(reObj);
        }