public UnitOfWork(HeroContext context) { _context = context; HeroRepository = new HeroRepository(context); }
public HeroRepository(HeroContext context) { _context = context; }