public async Task <ActionResult <List <LookupCodeDto> > > GetAll(LookupTypes?codeType, int?locationId)
        {
            var lookupCodesDtos = (await _service.GetAll(codeType, locationId)).Adapt <List <LookupCodeDto> >();

            return(Ok(lookupCodesDtos));
        }
Ejemplo n.º 2
0
        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));
        }