// GET: InforMation/Edit/5 public ActionResult Edit(int id) { Models.InfoDBHandle idb = new Models.InfoDBHandle(); return(View(idb.GetInformation().Find(info => info.Id == id))); }
// GET: InforMation public ActionResult Index() { Models.InfoDBHandle dbhandle = new Models.InfoDBHandle(); ModelState.Clear(); return(View(dbhandle.GetInformation())); }