public ActionResult Commit(int?id) { inout a = db.Inouts.Find(id); a.isCommited = true; db.SaveChanges(); return(View()); }
public ActionResult Isrest(int?id) { inout a = db.Inouts.Find(id); a.isRest = true; db.SaveChanges(); return(View()); }