private void Test_ReadList() { PizzaWorldContext _db = new PizzaWorldContext(); Assert.NotNull(_db.Stores); Assert.IsType <List <Store> >(_db.Stores.ToList()); }
private void Test_ReadCrust() { PizzaWorldContext _db = new PizzaWorldContext(); Assert.NotNull(_db.Crust); Assert.IsType <List <Crust> >(_db.Crust.ToList()); }
private void Test_ReadList() { PizzaWorldContext _db = new PizzaWorldContext(); Assert.NotNull(_db.Topping); Assert.IsType <List <Topping> >(_db.Topping.ToList()); }
private void Test_ReadOne() { PizzaWorldContext _db = new PizzaWorldContext(); Assert.NotNull(_db.Stores); //just grab anyone Assert.IsType <Store>(_db.Stores.ToList().Last()); }
private void Test_ReadOne() { PizzaWorldContext _db = new PizzaWorldContext(); Assert.NotNull(_db.Topping); //just grab anyone Assert.IsType <Topping>(_db.Topping.ToList().Last()); }
public IngredientRepository(PizzaWorldContext context) { _context = context; }
public ClientRepository(PizzaWorldContext context) { _context = context; }
public PizzaRepository(PizzaWorldContext context) { _context = context; }
public ScooterRepository(PizzaWorldContext context) { _context = context; }