public ServiceTeatro( IAsientoService asientoService, IAplicacionService aplicacionService, IUsuarioService usuarioService, ITeatroService teatroService, IObraService obraService, IFuncionService funcionService, IReservaService reservaService, IClienteService clienteService, IPromocionService promocionService, ITipoPromocionService tipoPromocionService, IZonaService zonaService, ILogEmailService emailService, IEmpresaService empresaService) { _clienteService = clienteService; _asientoService = asientoService; _teatroService = teatroService; _obraService = obraService; _funcionService = funcionService; _promocionService = promocionService; _reservaService = reservaService; _tipoPromocionService = tipoPromocionService; _zonaService = zonaService; _emailService = emailService; _empresaService = empresaService; }
public void Dispose() { _clienteService = null; _asientoService = null; _teatroService = null; _obraService = null; _funcionService = null; _promocionService = null; _reservaService = null; _tipoPromocionService = null; _zonaService = null; _emailService = null; _empresaService = null; }