// GET: IncomeRecord public ActionResult Index() { IncomeRecordDBHandle dbhandle = new IncomeRecordDBHandle(); ModelState.Clear(); return(View(dbhandle.Get())); }
// GET: IncomeRecord/Edit/5 public ActionResult Edit(int id) { IncomeRecordDBHandle sdb = new IncomeRecordDBHandle(); return(View(sdb.Get().Find(smodel => smodel.id == id))); }