public OrdersController(PizzaManager pizzaManager) { this.pizzaManager = pizzaManager; }
public MenuController(PizzaManager pizzaManager) { this.pizzaManager = pizzaManager; }
void Awake() { SharedInstance = this; }
// Use this for initialization void Start () { myIngredients = new List<string>(); pizzaManager = GameObject.FindObjectOfType<PizzaManager>(); GenerateIngredients(); }
public ActionResult PizzaDelete(PizzaModel model) { PizzaManager.RemovePizza(model); return(RedirectToAction("ManagePizzas")); }
public ActionResult AddPizza(PizzaModel model) { PizzaManager.AddPizza(model); return(RedirectToAction("ManagePizzas")); }
public ActionResult ManagePizzas() { List <PizzaModel> models = PizzaManager.getAllPizzas(); return(View(models)); }
public App() { InitializeComponent(); PizzaManager = new PizzaManager(new PizzaService()); MainPage = new OrderPizza.MainPage(); }