Esempio n. 1
0
 public IActionResult Create()
 {
     ViewData["FirstTeacherId"]  = new SelectList(_context.Set <Teacher>(), "Id", "FullName");
     ViewData["SecondTeacherId"] = new SelectList(_context.Set <Teacher>(), "Id", "FullName");
     return(View());
 }