Esempio n. 1
0
        // GET: Plan
        public ActionResult Index()
        {
            var settlements = nomenclatureService.GetSettlements();

            ViewBag.Towns = new SelectList(settlements, "Id", "Name", null);

            var categories = nomenclatureService.GetCategories();

            ViewBag.Categories = new SelectList(categories, "Id", "Name", null);

            ViewBag.ChosenDestinatins = ChosenItems;

            return(View());
        }