Example #1
0
        public JsonResult GetAppointmentList(bool?status = null)
        {
            var currentUserId = Convert.ToInt32(Session["currentUserId"].ToString());
            var data          = DoctorViewModel.getPatientAppointmentsReuquests(currentUserId, status);

            return(Json(new { result = data }, JsonRequestBehavior.AllowGet));
        }