public ActionResult SaveContract(viewContract contract) { if (contract != null) { CMSService.SaveContract(contract); } return(RedirectToAction("ContractAdministration", new { @tab = "Contract" })); }
public ActionResult EditContract(int conId) { viewContract contract = new viewContract(); contract = CMSService.GetContract(conId); if (contract == null) { contract = new viewContract(); } return(PartialView(contract)); }
public JsonResult AjaxSaveContract(viewContract contract) { CMSService.SaveContract(contract); return(Json(contract)); }