public Repository(SchoolContext context) { db = context; dbSet = context.Set <T>(); }
public Repository(SchoolContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }
public Repository(SchoolContext context) { db = context; dbSet = context.Set <T>(); }
public Repository(SchoolContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }