public JsonResult DoCallPredict(string txtTargetDate, int dataSouceType, double factor1,double factor2) { using (WFMDBDataContext db = new WFMDBDataContext()) { db.uspWFMcreateCallPrediction(dataSouceType, this.TenantID, DateTime.Parse(txtTargetDate), factor1, factor2); } return this.Json(new { result = "ok" }, JsonRequestBehavior.AllowGet); }
public JsonResult DoCallPredict(string txtTargetDate, int dataSouceType, double factor1, double factor2) { using (WFMDBDataContext db = new WFMDBDataContext()) { db.uspWFMcreateCallPrediction(dataSouceType, this.TenantID, DateTime.Parse(txtTargetDate), factor1, factor2); } return(this.Json(new { result = "ok" }, JsonRequestBehavior.AllowGet)); }