//If we do provide an argument when instantiating a new instance, the constructor with an argument in its method signature is automatically used. public EFItemRepository(GummiBearKingdomDbContext thisDb) { db = thisDb; }
//If we don't provide an argument when instantiating new instances of EFItemRepository, the constructor without an argument in its method signature is used public EFItemRepository() { db = new GummiBearKingdomDbContext(); }