public ActionResult List() { Home home = new Home(); try { //home.GetCompletedAppointments(); home.GetUpdatedAppointments(); home.GetOutstandingAppointments(); //home.GetSnoozedAppointments(); //home.GetCompletedAppointmentsCount(); home.GetUpdatedAppointmentsCount(); home.GetOutstandingAppointmentsCount(); //home.GetSnoozedAppointmentsCount(); home.GetConvertedClaims(); home.GetSettledClaims(); home.GetOustandingAppointmentsbyPriority(); } catch (Exception ex) { throw ex; } return PartialView(home); }
public JsonResult GetUpdatedAppointmentsCount() { Home home = new Home(); try { home.GetUpdatedAppointmentsCount(); } catch (Exception ex) { throw ex; } return Json(home.UpdatedAppointmentsCount.ToArray(), JsonRequestBehavior.AllowGet); }