Esempio n. 1
0
        public ActionResult ReportEdit(int id, ReportedPersonCheckStates state)
        {
            var ann = db.ReportedPersons.Find(id);

            ann.CheckState      = state;
            db.Entry(ann).State = System.Data.Entity.EntityState.Modified;
            return(Redirect("~/xxcc89/Report"));
        }
Esempio n. 2
0
        public ActionResult ReportEdit(int id, ReportedPersonCheckStates state)
        {
            var ann = db.ReportedPersons.Find(id);

            ann.CheckState = state;
            db.Entry(ann).State = System.Data.Entity.EntityState.Modified;
            return Redirect("~/xxcc89/Report");
        }
Esempio n. 3
0
 public ReportedPerson()
 {
     CheckState = ReportedPersonCheckStates.NotCheck;
 }