public TweeterData(ITweeterDbContext context) { this.context = context; this.repositories = new Dictionary <Type, object>(); }
public GenericRepository(ITweeterDbContext dbContext) { this.dbContext = dbContext; this.entitySet = dbContext.Set <TEntity>(); }