public List <AppointmentModel> GetAppointmentsTable(PractitionerBaseViewModel vm) { List <AppointmentModel> result = new List <AppointmentModel>(); PractitionerBusiness businessLayer = new PractitionerBusiness(); result = businessLayer.GetAppointmentsTable(vm.AccId); return(result); }