public UnitOfWork(HarryPotterContext context) { _context = context; }
public RepositoryBase(HarryPotterContext context) { Db = context; DbSet = Db.Set <TEntity>(); }
public CharacterRepository(HarryPotterContext context) : base(context) { }