public ActionResult Edit(int?Id) { if (Id == null) { return(HttpNotFound()); } var Inductee = InducteeRepo.Find(Id); if (Inductee == null) { return(HttpNotFound()); } //Get the batch list for display var BatchList = BatchRepo.GetAll().OrderByDescending(b => b.Id); ViewBag.BatchList = new SelectList(BatchList, "Id", "Name", Inductee.BatchID); return(View(Inductee)); }
// // GET: /Feedback/of/<inducteeID> public ActionResult Of(int?id) { var Inductee = InducteeRepo.Find(id); return(View(Inductee)); }