public GenericRepository(ICodeChestDbContext context) { this.context = context; this.set = context.Set <T>(); }
public CodeChestData(ICodeChestDbContext context) { this.context = context; this.repositories = new Dictionary <Type, object>(); }