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