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

            ViewBag.Crusts = new SelectList(crusts, "ID", "Name");
            return(View());
        }
Пример #2
0
        public IActionResult Index()
        {
            var crusts = client.GetAllCrusts();

            return(View(crusts));
        }