public InstructoresController(ApplicationDbContext context) { _context = context; instructor = new InstructorModels(context); }
public InstructoresController(ApplicationDbContext context) { _context = context; // 2 inicializa la instancia instructor = new InstructorModels(context); }