// // GET: /A10FundingCode/Create public ActionResult Create() { var model = new A10FundingCodeViewModelItem(); model = model.Populate(db); PopulateRecordStatusList(); return(View(model)); }
// // GET: /A10FundingCode/Edit/5 public ActionResult Edit(int id) { var model = new A10FundingCodeViewModelItem(); model = model.Populate(db, id); if (model == null) { return(HttpNotFound()); } PopulateRecordStatusList(); return(View(model)); }