コード例 #1
0
        public async Task <ActionResult <List <ItemTypeResponse> > > GetAllItemTypesAsync()
        {
            var itemTypes = await _itemTypeService.GetAllItemTypesAsync();

            return(_mapper.Map <List <ItemTypeResponse> >(itemTypes));
        }