Ejemplo n.º 1
0
        public IDataShell <PageShell <AccountDBModel> > GetPage(PageCondition <UserQueryPageCondition> condition)
        {
            Console.WriteLine("call data_service/useraccount/get");
            var res = _userDAL.GetPage(condition);

            return(res);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 获取分页
        /// </summary>
        /// <param name="condition"></param>
        /// <returns></returns>
        public IDataShell <PageShell <AccountModel> > GetPage(PageCondition <UserQueryPageCondition> condition)
        {
            var res = ReqResTransShell <PageCondition <UserQueryPageCondition>, PageCondition <UserQueryPageCondition>, PageShell <AccountDBModel>, PageShell <AccountModel> >(condition, (rq) => _userDAL.GetPage(rq));

            return(res);
        }