public ActionResult Delete(int id, FormCollection collection) { try { // TODO: Add delete logic here FakeDb fakeDb = FakeDb.Instance; fakeDb.Delete(id); return(RedirectToAction("Index")); } catch { return(View()); } }