Пример #1
0
        public async Task <IActionResult> Restructuring([Required] string id)
        {
            var subordinateSubdivision = await _services.GetSubordinateSubdivisionsForMvc(id);

            ViewBag.MainSubdivision = await _dropDownList.GetMainSubdivision();

            ViewBag.SubordinateSubdivision = new SelectList(subordinateSubdivision, "Key", "Value");
            return(View());
        }