示例#1
0
        public ActionResult <IEnumerable <InventoryItemsReadDto> > GetAllItems()
        {
            var allItems = _repository.GetAllItems();

            return(Ok(_mapper.Map <IEnumerable <InventoryItemsReadDto> >(allItems)));
        }