UpdateCondition() public method

public UpdateCondition ( ) : void
return void
Esempio n. 1
0
 public ActionResult SelectCondition(QueryModel m)
 {
     m.Comparison = "Equal";
     m.UpdateCondition();
     return View("EditCondition", m);
 }
Esempio n. 2
0
 public ActionResult SaveCondition(QueryModel m)
 {
     if (m.Validate(ModelState))
         m.UpdateCondition();
     if (ModelState.IsValid)
         return View("Conditions", m);
     return View("EditCondition", m);
 }