Ejemplo n.º 1
0
        //public IActionResult KendoReadSalesOrderDetail([DataSourceRequest] DataSourceRequest request)
        //{
        //    if (!request.Sorts.Any())
        //    {
        //        request.Sorts.Add(new SortDescriptor("OrderNo", ListSortDirection.Ascending));
        //    }
        //    return Json(CustomRepository.GetSalesOrderDetailList().ToDataSourceResult(request));
        //}

        public IActionResult KendoReadPendingProduction([DataSourceRequest] DataSourceRequest request)
        {
            return(Json(CustomRepository.GetPendingProductionList().ToDataSourceResult(request)));
        }