public ActionResult GetIncomeExpenseDataWeeks(string clientId, string practiceId, int numberMonths) { ClientChartModel model = new ClientChartModel(); model.Load(clientId, practiceId, numberMonths); return Json(model.SummaryChartGroupByWeeks(model.SummaryChartData), JsonRequestBehavior.AllowGet); }
// // GET: /ClientChart/ public ActionResult Index(string clientId,string practiceId, int numberMonths) { ClientChartModel model = new ClientChartModel(); model.Load(clientId,practiceId, numberMonths); return View(model); }
public ActionResult GetData(string clientId, string practiceId, int numberMonths) { ClientChartModel model = new ClientChartModel(); model.Load(clientId, practiceId, numberMonths); return Json(model.SummaryChartData, JsonRequestBehavior.AllowGet); }