public ActionResult <IEnumerable <InventoryItemsReadDto> > GetAllItems() { var allItems = _repository.GetAllItems(); return(Ok(_mapper.Map <IEnumerable <InventoryItemsReadDto> >(allItems))); }