public UnitOfWork(LeagueItemsContext context, IChampionRepository championRepository, IItemRepository itemRepository) { Context = context; ChampionRepository = championRepository; ItemRepository = itemRepository; }
public ItemRepository(LeagueItemsContext context) { Context = context; }
public ChampionRepository(LeagueItemsContext leagueItemsContext) { LeagueItemsContext = leagueItemsContext; }