// *****************Retrieve all loot records***************** // GET: Loot public ActionResult Index() { LootDBHandle dbhandle = new LootDBHandle(); ModelState.Clear(); return(View(dbhandle.GetRecords())); }
// *****************Edit loot record details manually***************** // GET: Loot/Edit/5 public ActionResult Edit(int id) { LootDBHandle ldb = new LootDBHandle(); return(View(ldb.GetRecords().Find(smodel => smodel.Id == id))); }