public EspecialidadController() { if (_especialidadService == null) { _especialidadService = new EspecialidadService(); } }
public ReporteService(DataContext context, IVoluntarioBasicoService voluntarioService, IVoluntarioMedicoService voluntarioMedicoService, IVoluntarioAsociacionService voluntarioAsociacionService, IPacienteService pacienteService, IEspecialidadService especialidadService) { _context = context; _voluntarioService = voluntarioService; _voluntarioMedicoService = voluntarioMedicoService; _voluntarioAsociacionService = voluntarioAsociacionService; _pacientenService = pacienteService; _especialidadService = especialidadService; }
public EspecialidadController( IEspecialidadService especialidadService ) { _especialidadService = especialidadService; }