public IActionResult GetSize()
        {
            var sizes = client.GetAllSizes();

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

            return(View(sizes));
        }