Пример #1
0
        public JsonResult GetProductList()
        {
            var result         = new eSaleModel.Product();
            var productService = new eSalesService.ProductService(this.GetDBConnectionString());
            var store          = new eSaleModel.Store();

            result.ProductId   = 0;
            result.ProductName = "%" + null + "%";
            result.SupplierId  = 0;
            result.CategoryId  = 0;

            return(this.Json(productService.GetProductByCondition(result), JsonRequestBehavior.AllowGet));
        }