// GET: ServiceItem/Create public IActionResult Create() { ViewBag.Collections = new SelectList(_collectionService.GetAll(), "Id", "Name"); ViewBag.Icons = new SelectList(_iconService.GetAll(), "Name", "Name"); return(View()); }
// GET: ServiceItem/Create public IActionResult Create() { ViewBag.Collections = new SelectList(_collectionService.GetAll(), "Id", "Name"); ViewBag.Icons = new SelectList(_iconService.GetAll(), "Name", "Name"); return(View()); }