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")); }
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"); }
public ReportedPerson() { CheckState = ReportedPersonCheckStates.NotCheck; }