Exemplo n.º 1
0
        public List <PractitionerRecordsDirectory> SearchRecords(PractitionerRecordSearch vm)
        {
            List <PractitionerRecordsDirectory> result = new List <PractitionerRecordsDirectory>();
            PractitionerData dataLayer = new PractitionerData();

            if (String.IsNullOrEmpty(vm.Year.ToString()))
            {
                vm.Year = 0;
            }
            result = dataLayer.SearchRecords(vm);

            return(result);
        }