public async Task <ActionResult <List <LookupCodeDto> > > GetAll(LookupTypes?codeType, int?locationId) { var lookupCodesDtos = (await _service.GetAll(codeType, locationId)).Adapt <List <LookupCodeDto> >(); return(Ok(lookupCodesDtos)); }
public async Task <ActionResult <List <LookupCodeDto> > > GetAll(LookupTypes?codeType, int?locationId, bool showExpired = false) { var lookupCodesDtos = (await ManageTypesService.GetAll(codeType, locationId, showExpired)).Adapt <List <LookupCodeDto> >(); return(Ok(lookupCodesDtos)); }