public ActionResult GetAllGridList(string _FNTransferID)//CrustLeatherQCID { InvFNTransfer model = new InvFNTransfer(); if (string.IsNullOrEmpty(_FNTransferID)) { return(Json(model, JsonRequestBehavior.AllowGet)); } model.InvFNTransferFromList = _objDalFinishedLeatherTransferTreatment.GetFNTransferFromAfterSave(_FNTransferID); if (model.InvFNTransferFromList.Count > 0) { model.InvFNTransferToList = _objDalFinishedLeatherTransferTreatment.GetFNTransferToAfterSave(model.InvFNTransferFromList[0].FNTransferFromID.ToString()); } return(Json(model, JsonRequestBehavior.AllowGet)); }
public ActionResult FinishedLeatherTransferTreatment(InvFNTransfer model) { _vmMsg = _objDalFinishedLeatherTransferTreatment.Save(model, Convert.ToInt32(Session["UserID"]), "FinishedLeatherTransferTreatment/FinishedLeatherTransferTreatment"); return(Json(new { FNTransferID = _objDalFinishedLeatherTransferTreatment.GetFNTransferID(), FNTransferNo = _objDalFinishedLeatherTransferTreatment.GetFNTransferNo(), msg = _vmMsg })); }