Пример #1
0
        public ActionResult AddList(TransferDetails model)
        {
            //listOrderInfo.Add(model);
            //var result = new { total = 100, rows = listOrderInfo };
            //return Json(result, JsonRequestBehavior.AllowGet);
            //model.ID = Request["ID"] == null ? "" : Request["ID"].ToString();
            //string FlagID = Request["FlagID"] == null ? "" : Request["FlagID"].ToString();
            //model.LocID=Request["LocID"] == null ? "" : Request["LocID"].ToString();
            //model.NextLocID = Request["NextLocID"] == null ? "" : Request["NextLocID"].ToString();
            var result = TransferDAL.UpdateTransferDetails(model);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }