public AlumnosController(AdagioContext context) { _context = context; AlumnoRepository = new AlumnoRepository(_context); }
public AlumnoRepository(AdagioContext context) : base(context) { }
public ClaseRepository(AdagioContext context) : base(context) { }
public ClasesController(AdagioContext context) { _context = context; ClaseRepository = new ClaseRepository(_context); }
public Repository(AdagioContext context) => Context = context;