public Repository(ITechShopDbContext context) { this.Context = context; this.DbSet = this.Context.Set <T>(); }
public TechShopData(ITechShopDbContext context) { this.context = context; this.repositories = new Dictionary <Type, object>(); }