public Repository(PSGameStoreDbContext context) { this.context = context; //then U could pass in new context }
public Repository() { context = new PSGameStoreDbContext(); DbSet = context.Set <T>(); }
public Repository(PSGameStoreDbContext context) { this.context = context; //then U could pass in new context }
public Repository() { context = new PSGameStoreDbContext(); DbSet = context.Set <T>(); }