示例#1
0
        public ApiResult <IEnumerable <Client> > IndexList([FromServices] IClientProvider clientProvider, VSearchModel vSearchModel)
        {
            var lst = clientProvider.Search(vSearchModel.Keywords, vSearchModel.PageIndex, vSearchModel.PageSize, out int count);

            return(new ApiResult <IEnumerable <Client> >()
            {
                Data = lst
            });
        }