public EntitySaver(iTestDbContext context) => this.context = context;
public HomeController(iTestDbContext ctx) { this.ctx = ctx; }
public GenericRepository(iTestDbContext context) { this.context = context; this.dbSet = this.Context.Set <TEntity>(); }
public EfRepository(iTestDbContext context) { this.context = context; }