// GET: Asignacion/Create public IActionResult Create() { ViewData["CursoID"] = new SelectList(_context.Set <Curso>(), "CursoID", "CursoID"); ViewData["InstructorID"] = new SelectList(_context.Set <Instructor>(), "InstructorID", "InstructorID"); return(View()); }
// GET: Instructor/Create public IActionResult Create() { ViewData["PersonaID"] = new SelectList(_context.Set <Persona>(), "PersonaID", "PersonaID"); return(View()); }