예제 #1
0
        public ActionResult Commit(int?id)
        {
            inout a = db.Inouts.Find(id);

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

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

            return(View());
        }