public ValuesController(IAlumnoService alumnoService, IProfesorService profesorService,
                         IColegioService colegioService, IClaseService claseService)
 {
     _alumnoService   = alumnoService;
     _profesorService = profesorService;
     _colegioService  = colegioService;
     _claseService    = claseService;
 }
示例#2
0
 public AlumnoController()
 {
     if (_alumnoService == null)
     {
         _alumnoService = new AlumnoService();
     }
     if (_ubigeoService == null)
     {
         _ubigeoService = new UbigeoService();
     }
 }
 public DocumentosController()
 {
     if (_alumnoService == null)
     {
         _alumnoService = new AlumnoService();
     }
     if (_docuementosService == null)
     {
         _docuementosService = new DocumentoService();
     }
 }
 public MatriculaController()
 {
     if (_matriculaService == null)
     {
         _matriculaService = new MatriculaService();
     }
     if (_alumnoService == null)
     {
         _alumnoService = new AlumnoService();
     }
     if (_apoderadoService == null)
     {
         _apoderadoService = new ApoderadosService();
     }
     if (_anioAcademicoService == null)
     {
         _anioAcademicoService = new AnioAcademicoService();
     }
     if (_ubigeoService == null)
     {
         _ubigeoService = new UbigeoService();
     }
     if (_documentoService == null)
     {
         _documentoService = new DocumentoService();
     }
     if (_nivelService == null)
     {
         _nivelService = new NivelService();
     }
     if (_gradoService == null)
     {
         _gradoService = new GradoService();
     }
     if (_seccionService == null)
     {
         _seccionService = new SeccionService();
     }
 }
示例#5
0
 public AlumnoController(IAlumnoService service)
 {
     _service = service;
 }
 public ValuesController(IAlumnoService alumnoService)
 {
     this.alumnoService = alumnoService;
 }
示例#7
0
 public alumnoController(IAlumnoService alumnoService)
 {
     _alumnoService = alumnoService;
 }
 public AlumnoAppService(IAlumnoService alumnoService) : base(alumnoService)
 {
     _alumnoService = alumnoService;
 }