public List <PatientsDirectory> GetPatientsDirectory(PractitionerBaseViewModel vm) { List <PatientsDirectory> result = new List <PatientsDirectory>(); if (vm != null) { PractitionerBusiness businessLayer = new PractitionerBusiness(); result = businessLayer.GetPatientsDirectory(vm.AccId); } return(result); }