public JsonResult Products(InventoryProductGridItemsRequestModel input)
        {
            var items = _dynamicExpressionQuery.PerformQuery <InventoryProduct>(input.filters, x => x.Product.InstantiatingType == input.ProductType);
            var gridItemsViewModel = _inventoryProductListGrid.GetGridItemsViewModel(input.PageSortFilter, items);

            return(Json(gridItemsViewModel, JsonRequestBehavior.AllowGet));
        }
 public JsonResult Products(InventoryProductGridItemsRequestModel input)
 {
     var items = _dynamicExpressionQuery.PerformQuery<InventoryProduct>(input.filters,x=>x.Product.InstantiatingType == input.ProductType);
     var gridItemsViewModel = _inventoryProductListGrid.GetGridItemsViewModel(input.PageSortFilter, items);
     return Json(gridItemsViewModel, JsonRequestBehavior.AllowGet);
 }