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

            return(Ok(lookupCodesDtos));
        }
Exemplo 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));
        }