// // GET: /Article/Create public ActionResult Create() { ViewBag.types = new SelectList(db.Type, "id", "name"); ViewBag.AuthorsList = authorRepository.FillAuthorsCheckBoxList(null); ViewBag.ThemesList = themeRepository.FillThemesCheckBoxList(null); ViewBag.city_id = new SelectList(db.City, "id", "name"); ViewBag.conference_id = new SelectList(db.Conference, "id", "name"); ViewBag.supervizor_id = new SelectList(db.Author, "id", "last_name"); return(View()); }
// // GET: /Book/Create public ActionResult Create() { ViewBag.AuthorsList = authorRepository.FillAuthorsCheckBoxList(null); ViewBag.ThemesList = themeRepository.FillThemesCheckBoxList(null); return(View()); }