public SendMailsBecarioService(IBecarioService becarioService, ICandidaturaRepository candidaturaRepository, ICandidatoService candidatoService,
                                       IMaestroService maestroService)
        {
            _becarioService    = becarioService;
            _maestroRepository = new MaestroRepository();
            _maestroService    = maestroService;
            _candidatoService  = candidatoService;

            //para lo del correo
            _correoRepository                  = new CorreoRepository();
            _correoBecarioRepository           = new CorreoBecarioRepository();
            _correoPlantillaRepository         = new CorreoPlantillaRepository();
            _correoPlantillaVariableRepository = new CorreoPlantillaVariableRepository();
            _correoService                  = new CorreoService(_correoRepository, candidaturaRepository);
            _correoBecarioService           = new CorreoBecarioService(_correoBecarioRepository);
            _correoPlantillaService         = new CorreoPlantillaService(_correoPlantillaRepository);
            _correoPlantillaVariableService = new CorreoPlantillaVariableService(_correoPlantillaVariableRepository);
        }
示例#2
0
 public CorreoPlantillaVariableService(ICorreoPlantillaVariableRepository correoPlantillaVariableRepository)
 {
     _correoPlantillaVariableRepository = correoPlantillaVariableRepository;
 }