public IActionResult GetCrust()
        {
            var crusts = client.GetAllCrusts();

            ViewBag.Crusts = new SelectList(crusts, "ID", "Name");
            return(View());
        }
Exemplo n.º 2
0
        public IActionResult Index()
        {
            var crusts = client.GetAllCrusts();

            return(View(crusts));
        }