Пример #1
0
 // GET: TodoItemTagDB/Create
 public IActionResult Create()
 {
     ViewData["TagID"]      = new SelectList(tagProvider.GetEnum(), "ID", "Name");
     ViewData["TodoItemID"] = new SelectList(todoItemProvider.GetEnum(), "ID", "Name");
     return(View());
 }
Пример #2
0
 // GET: TodoItemDB/Create
 public IActionResult Create()
 {
     ViewData["CategoryID"] = new SelectList(categoryProvider.GetEnum(), "ID", "Name");
     return(View());
 }