public ActionResult Update(string raiserID, int vaccineID, DateTime realyInjectionDate) { var result = VaccinePlan.Injection(raiserID, vaccineID, realyInjectionDate); if (!string.IsNullOrEmpty(result)) { return(Json(JSHelper.JsonMessage(result, false), JsonRequestBehavior.AllowGet)); } return(Json(JSHelper.JsonMessage("保存成功", true), JsonRequestBehavior.AllowGet)); }
public ActionResult List(FormCollection fc) { var plans = VaccinePlan.GetPlans().AsQueryable(); return(base.DataGrid(plans)); }