public ItemDataController(IItemDataRepository itemDataRepository) { _itemDataRepository = itemDataRepository; }
public ItemFactory(IItemDataRepository spellDataRepository, IDice dice) { items = spellDataRepository.GetAllItems().ToList(); this.dice = dice; }