public ActionResult SaveEditData(Contracts_Info _ObjInfo) { try { ContractBL _ContractBL = new ContractBL(); _ObjInfo.Modified_By = SessionData.CurrentUser.User_Name; _ObjInfo.Modified_Date = NaviCommon.CommonFuc.CurrentDate(); _ObjInfo.Due_Date = _ObjInfo.Register_Date.AddDays((double)_ObjInfo.Period); bool _rel = _ContractBL.Contract_Update(_ObjInfo); return(Json(new { success = _rel })); } catch (Exception ex) { NaviCommon.Common.log.Error(ex.ToString()); return(Json(new { success = false })); } }