public IActionResult GetPresetPizza()
        {
            var presetPizzas = client.GetAllPresetPizzas();

            ViewBag.PresetPizzas = new SelectList(presetPizzas, "ID", "Name");
            return(View());
        }
示例#2
0
        public IActionResult Index()
        {
            var presetPizzas = client.GetAllPresetPizzas();

            return(View(presetPizzas));
        }