Пример #1
0
        public virtual IHttpActionResult Search([FromUri] ProductTypeSearchRequest request)
        {
            Expression <Func <ProductType, bool> > expression = a => true;
            var result = _productTypeService.LoadPaging(expression, a => new ProductTypeSearchItem
            {
            }, request);

            return(Succeed(new ProductTypeSearchResponse
            {
                Count = result.Count,
                Items = result.Items,
                Total = result.Total,
            }));
        }