public ActionResult FormatAndSupplementalInfo(int PermitKey) { OtherPermitInformationBO DefinitionsBo = PermitBLL.GetOtherPermitInformationFormatSupplementalInformation(PermitKey); OtherPermitInfoVM Model = new OtherPermitInfoVM(DefinitionsBo); return View(Model); }
public ActionResult Definitions(int PermitKey) { OtherPermitInformationBO DefinitionsBo = PermitBLL.GetOtherPermitInformationDefinitions(PermitKey); OtherPermitInfoVM Model = new OtherPermitInfoVM(DefinitionsBo); return View(Model); }
public ActionResult Definitions(OtherPermitInfoVM Model, int PermitKey) { if (!ModelState.IsValid) return View(Model); try { PermitBLL.SetOtherPermitInformationDefinitions(Model.GetDataObject()); AddSuccessMessage("Your changes have been saved"); } catch (Exception ex) { AddErrorMessage(ex); } return View(Model); }