// TODO: Is a new Model created every time a request is made? Break here and see if constructor is called after post public MenuModel(IPizzaShopDbHandler pizzaShopDbHandler) { CurrentDrink = new Drink(); CurrentPizza = new Pizza(); _pizzaShopDbHandler = pizzaShopDbHandler; }
public OrderModel(IPizzaShopDbHandler pizzaShopDbHandler) { Customer = new Customer(); _pizzaShopDbHandler = pizzaShopDbHandler; }
public LoginModel(IPizzaShopDbHandler pizzaShopDbHandler) { _pizzaShopDbHandler = pizzaShopDbHandler; }
public SignupModel(IPizzaShopDbHandler pizzaShopDbHandler) { _pizzaShopDbHandler = pizzaShopDbHandler; }