public static IList <ScheduleAppointmentsObjData> GetAllRecords()
        {
            IList <ScheduleAppointmentsObjData> appoint = (IList <ScheduleAppointmentsObjData>)HttpContext.Current.Session["Appointments"];
            ScheduleAppointmentsObjDatum        obj     = new ScheduleAppointmentsObjDatum();

            if (appoint == null)
            {
                HttpContext.Current.Session["Appointments"] = appoint = obj.GetRecords().ToList();
            }
            return(appoint);
        }