Exemplo n.º 1
0
        public ActionResult Commit(int?id)
        {
            inout a = db.Inouts.Find(id);

            a.isCommited = true;
            db.SaveChanges();
            return(View());
        }
Exemplo n.º 2
0
        public ActionResult Isrest(int?id)
        {
            inout a = db.Inouts.Find(id);

            a.isRest = true;
            db.SaveChanges();

            return(View());
        }