public async Task <ActionResult> ListItems(decimal todayCode) { var mode = new ProduceModel() { //get product order confirmed RequestWareItems = _requestWareDa.GetSummary(todayCode), // get product_detail from order CategorysDetail = _storageWareHouseDa.GetSummaryDetailConfirmed(todayCode).ToList() }; //get detail return(PartialView(mode)); }
public ActionResult GetSummary(decimal todayCode) { return(Json(_da.GetSummary(todayCode))); }