    }

    public Inventory getById(UUID id){
        inventoryAuthorizer.authorizeByInventoryId(id);

        dev.infrastructr.deck.data.entities.Inventory inventory = inventoryRepository.findById(id).orElseThrow(NotFoundException::new);

        return inventoryMapper.map(inventory);
    }

    public Page<Inventory> getByProjectId(Pageable pageable, UUID projectId){
        inventoryAuthorizer.authorizeByProjectId(projectId);