public Repository(ShoppingListContext dbContext) { this.dbContext = dbContext; dbSet = dbContext.Set <T>(); }