示例#1
0
 public ConsultasFrequencia(IMediator mediator,
                            IServicoFrequencia servicoFrequencia,
                            IServicoEol servicoEOL,
                            IConsultasPeriodoEscolar consultasPeriodoEscolar,
                            IRepositorioComponenteCurricular repositorioComponenteCurricular,
                            IConsultasTipoCalendario consultasTipoCalendario,
                            IConsultasTurma consultasTurma,
                            IRepositorioAula repositorioAula,
                            IRepositorioFrequencia repositorioFrequencia,
                            IRepositorioTurma repositorioTurma,
                            IRepositorioFrequenciaAlunoDisciplinaPeriodo repositorioFrequenciaAlunoDisciplinaPeriodo,
                            IRepositorioParametrosSistema repositorioParametrosSistema,
                            IServicoAluno servicoAluno)
 {
     this.mediator                = mediator ?? throw new ArgumentNullException(nameof(mediator));
     this.servicoFrequencia       = servicoFrequencia ?? throw new ArgumentNullException(nameof(servicoFrequencia));
     this.servicoEOL              = servicoEOL ?? throw new ArgumentNullException(nameof(servicoEOL));
     this.consultasPeriodoEscolar = consultasPeriodoEscolar ?? throw new ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.consultasTipoCalendario = consultasTipoCalendario ?? throw new ArgumentNullException(nameof(consultasTipoCalendario));
     this.consultasTurma          = consultasTurma ?? throw new ArgumentNullException(nameof(consultasTurma));
     this.repositorioAula         = repositorioAula ?? throw new ArgumentNullException(nameof(repositorioAula));
     this.repositorioTurma        = repositorioTurma ?? throw new ArgumentNullException(nameof(repositorioTurma));
     this.repositorioFrequencia   = repositorioFrequencia ?? throw new ArgumentNullException(nameof(repositorioFrequencia));
     this.repositorioFrequenciaAlunoDisciplinaPeriodo = repositorioFrequenciaAlunoDisciplinaPeriodo ?? throw new ArgumentNullException(nameof(repositorioFrequenciaAlunoDisciplinaPeriodo));
     this.repositorioParametrosSistema = repositorioParametrosSistema ?? throw new ArgumentNullException(nameof(repositorioParametrosSistema));
     this.servicoAluno = servicoAluno ?? throw new ArgumentNullException(nameof(servicoAluno));
     this.repositorioComponenteCurricular = repositorioComponenteCurricular ?? throw new ArgumentNullException(nameof(repositorioComponenteCurricular));
 }
示例#2
0
 public ConsultaAtividadeAvaliativa(
     IConsultasProfessor consultasProfessor,
     IRepositorioAtividadeAvaliativa repositorioAtividadeAvaliativa,
     IRepositorioAtividadeAvaliativaRegencia repositorioAtividadeAvaliativaRegencia,
     IRepositorioAtividadeAvaliativaDisciplina repositorioAtividadeAvaliativaDisciplina,
     IRepositorioPeriodoEscolar repositorioPeriodoEscolar,
     IRepositorioComponenteCurricular repositorioComponenteCurricular,
     IRepositorioTurma repositorioTurma,
     IRepositorioAula repositorioAula,
     IRepositorioAtribuicaoCJ repositorioAtribuicaoCJ,
     IServicoUsuario servicoUsuario,
     IContextoAplicacao contextoAplicacao,
     IConsultasTurma consultasTurma,
     IConsultasPeriodoEscolar consultasPeriodoEscolar,
     IConsultasPeriodoFechamento consultasPeriodoFechamento) : base(contextoAplicacao)
 {
     this.consultasProfessor                       = consultasProfessor ?? throw new System.ArgumentNullException(nameof(consultasProfessor));
     this.repositorioAtividadeAvaliativa           = repositorioAtividadeAvaliativa ?? throw new System.ArgumentNullException(nameof(repositorioAtividadeAvaliativa));
     this.repositorioAtividadeAvaliativaRegencia   = repositorioAtividadeAvaliativaRegencia ?? throw new System.ArgumentNullException(nameof(repositorioAtividadeAvaliativaRegencia));
     this.repositorioAtividadeAvaliativaDisciplina = repositorioAtividadeAvaliativaDisciplina ?? throw new System.ArgumentNullException(nameof(repositorioAtividadeAvaliativaDisciplina));
     this.repositorioPeriodoEscolar                = repositorioPeriodoEscolar ?? throw new System.ArgumentNullException(nameof(repositorioPeriodoEscolar));
     this.repositorioComponenteCurricular          = repositorioComponenteCurricular ?? throw new System.ArgumentNullException(nameof(repositorioComponenteCurricular));
     this.repositorioTurma           = repositorioTurma ?? throw new System.ArgumentNullException(nameof(repositorioTurma));
     this.repositorioAula            = repositorioAula ?? throw new System.ArgumentNullException(nameof(repositorioAula));
     this.repositorioAtribuicaoCJ    = repositorioAtribuicaoCJ ?? throw new System.ArgumentNullException(nameof(repositorioAtribuicaoCJ));
     this.servicoUsuario             = servicoUsuario ?? throw new System.ArgumentNullException(nameof(servicoUsuario));
     this.consultasTurma             = consultasTurma ?? throw new ArgumentNullException(nameof(consultasTurma));
     this.consultasPeriodoEscolar    = consultasPeriodoEscolar ?? throw new ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.consultasPeriodoFechamento = consultasPeriodoFechamento ?? throw new ArgumentNullException(nameof(consultasPeriodoFechamento));
 }
示例#3
0
 public ServicoCompensacaoAusencia(IRepositorioCompensacaoAusencia repositorioCompensacaoAusencia,
                                   IRepositorioCompensacaoAusenciaAluno repositorioCompensacaoAusenciaAluno,
                                   IRepositorioCompensacaoAusenciaDisciplinaRegencia repositorioCompensacaoAusenciaDisciplinaRegencia,
                                   IRepositorioFrequenciaAlunoDisciplinaPeriodo repositorioFrequencia,
                                   IConsultasPeriodoEscolar consultasPeriodoEscolar,
                                   IConsultasTurma consultasTurma,
                                   IRepositorioTipoCalendario repositorioTipoCalendario,
                                   IServicoEol servicoEOL,
                                   IServicoUsuario servicoUsuario,
                                   IRepositorioTurma repositorioTurma,
                                   IRepositorioComponenteCurricular repositorioComponenteCurricular,
                                   IRepositorioNotificacaoCompensacaoAusencia repositorioNotificacaoCompensacaoAusencia,
                                   IUnitOfWork unitOfWork, IRepositorioProcessoExecutando repositorioProcessoExecutando,
                                   IMediator mediator)
 {
     this.repositorioCompensacaoAusencia      = repositorioCompensacaoAusencia ?? throw new System.ArgumentNullException(nameof(repositorioCompensacaoAusencia));
     this.repositorioCompensacaoAusenciaAluno = repositorioCompensacaoAusenciaAluno ?? throw new System.ArgumentNullException(nameof(repositorioCompensacaoAusenciaAluno));
     this.repositorioCompensacaoAusenciaDisciplinaRegencia = repositorioCompensacaoAusenciaDisciplinaRegencia ?? throw new System.ArgumentNullException(nameof(repositorioCompensacaoAusenciaDisciplinaRegencia));
     this.repositorioFrequencia     = repositorioFrequencia ?? throw new System.ArgumentNullException(nameof(repositorioFrequencia));
     this.consultasPeriodoEscolar   = consultasPeriodoEscolar ?? throw new System.ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.consultasTurma            = consultasTurma ?? throw new System.ArgumentNullException(nameof(consultasTurma));
     this.repositorioTipoCalendario = repositorioTipoCalendario ?? throw new System.ArgumentNullException(nameof(repositorioTipoCalendario));
     this.repositorioTurma          = repositorioTurma ?? throw new System.ArgumentNullException(nameof(repositorioTurma));
     this.repositorioNotificacaoCompensacaoAusencia = repositorioNotificacaoCompensacaoAusencia ?? throw new System.ArgumentNullException(nameof(repositorioNotificacaoCompensacaoAusencia));
     this.servicoEOL     = servicoEOL ?? throw new System.ArgumentNullException(nameof(servicoEOL));
     this.servicoUsuario = servicoUsuario ?? throw new System.ArgumentNullException(nameof(servicoUsuario));
     this.unitOfWork     = unitOfWork ?? throw new System.ArgumentNullException(nameof(unitOfWork));
     this.repositorioProcessoExecutando = repositorioProcessoExecutando ?? throw new ArgumentNullException(nameof(repositorioProcessoExecutando));
     this.mediator = mediator ?? throw new ArgumentNullException(nameof(mediator));
     this.repositorioComponenteCurricular = repositorioComponenteCurricular ?? throw new System.ArgumentNullException(nameof(repositorioComponenteCurricular));
 }
示例#4
0
 public ConsultasRelatorioSemestralPAPAluno(IContextoAplicacao contextoAplicacao,
                                            IConsultasTurma consultasTurma,
                                            IConsultasPeriodoEscolar consultasPeriodoEscolar,
                                            IConsultasTipoCalendario consultasTipoCalendario,
                                            IRepositorioRelatorioSemestralPAPAluno repositorioRelatorioSemestralAluno) : base(contextoAplicacao)
 {
     this.consultasTurma                     = consultasTurma ?? throw new ArgumentNullException(nameof(consultasTurma));
     this.consultasPeriodoEscolar            = consultasPeriodoEscolar ?? throw new ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.consultasTipoCalendario            = consultasTipoCalendario ?? throw new ArgumentNullException(nameof(consultasTipoCalendario));
     this.repositorioRelatorioSemestralAluno = repositorioRelatorioSemestralAluno ?? throw new ArgumentNullException(nameof(repositorioRelatorioSemestralAluno));
 }
示例#5
0
 public ConsultasAulaPrevista(IRepositorioAulaPrevista repositorio,
                              IRepositorioAulaPrevistaBimestre repositorioBimestre,
                              IRepositorioPeriodoEscolar repositorioPeriodoEscolar,
                              IRepositorioTurma repositorioTurma,
                              IRepositorioTipoCalendario repositorioTipoCalendario,
                              IConsultasTurma consultasTurma)
 {
     this.repositorio               = repositorio ?? throw new ArgumentNullException(nameof(repositorio));
     this.repositorioBimestre       = repositorioBimestre ?? throw new ArgumentNullException(nameof(repositorioBimestre));
     this.repositorioPeriodoEscolar = repositorioPeriodoEscolar ?? throw new ArgumentNullException(nameof(repositorioPeriodoEscolar));
     this.repositorioTurma          = repositorioTurma ?? throw new ArgumentNullException(nameof(repositorioTurma));
     this.repositorioTipoCalendario = repositorioTipoCalendario ?? throw new ArgumentNullException(nameof(repositorioTipoCalendario));
     this.consultasTurma            = consultasTurma ?? throw new ArgumentNullException(nameof(consultasTurma));
 }
示例#6
0
 public ComandosRelatorioSemestralPAPAluno(IRepositorioRelatorioSemestralPAPAluno repositorioRelatorioSemestralAluno,
                                           IRepositorioPeriodoEscolar repositorioPeriodoEscolar,
                                           IComandosRelatorioSemestralTurmaPAP comandosRelatorioSemestral,
                                           IConsultasRelatorioSemestralTurmaPAP consultasRelatorioSemestral,
                                           IComandosRelatorioSemestralPAPAlunoSecao comandosRelatorioSemestralAlunoSecao,
                                           IConsultasTurma consultasTurma,
                                           IUnitOfWork unitOfWork)
 {
     this.repositorioRelatorioSemestralAluno   = repositorioRelatorioSemestralAluno ?? throw new ArgumentNullException(nameof(repositorioRelatorioSemestralAluno));
     this.repositorioPeriodoEscolar            = repositorioPeriodoEscolar ?? throw new ArgumentNullException(nameof(repositorioPeriodoEscolar));
     this.comandosRelatorioSemestral           = comandosRelatorioSemestral ?? throw new ArgumentNullException(nameof(comandosRelatorioSemestral));
     this.consultasRelatorioSemestral          = consultasRelatorioSemestral ?? throw new ArgumentNullException(nameof(consultasRelatorioSemestral));
     this.comandosRelatorioSemestralAlunoSecao = comandosRelatorioSemestralAlunoSecao ?? throw new ArgumentNullException(nameof(comandosRelatorioSemestralAlunoSecao));
     this.consultasTurma = consultasTurma ?? throw new ArgumentNullException(nameof(consultasTurma));
     this.unitOfWork     = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
 }
示例#7
0
 public ConsultasConselhoClasseRecomendacao(IRepositorioConselhoClasseRecomendacao repositorioConselhoClasseRecomendacao,
                                            IRepositorioConselhoClasseAluno repositorioConselhoClasseAluno, IConsultasPeriodoEscolar consultasPeriodoEscolar, IConsultasTurma consultasTurma,
                                            IConsultasFechamentoAluno consultasFechamentoAluno, IConsultasFechamentoTurma consultasFechamentoTurma, IConsultasPeriodoFechamento consultasPeriodoFechamento,
                                            IConsultasConselhoClasse consultasConselhoClasse, IRepositorioTipoCalendario repositorioTipoCalendario, IMediator mediator)
 {
     this.repositorioConselhoClasseAluno = repositorioConselhoClasseAluno ?? throw new ArgumentNullException(nameof(repositorioConselhoClasseAluno));
     this.consultasPeriodoEscolar        = consultasPeriodoEscolar ?? throw new ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.consultasTurma           = consultasTurma ?? throw new ArgumentNullException(nameof(consultasTurma));
     this.consultasFechamentoAluno = consultasFechamentoAluno ?? throw new ArgumentNullException(nameof(consultasFechamentoAluno));
     this.repositorioConselhoClasseRecomendacao = repositorioConselhoClasseRecomendacao ?? throw new ArgumentNullException(nameof(repositorioConselhoClasseRecomendacao));
     this.consultasFechamentoTurma   = consultasFechamentoTurma ?? throw new ArgumentNullException(nameof(consultasFechamentoTurma));
     this.consultasPeriodoFechamento = consultasPeriodoFechamento ?? throw new ArgumentNullException(nameof(consultasPeriodoFechamento));
     this.consultasConselhoClasse    = consultasConselhoClasse ?? throw new ArgumentNullException(nameof(consultasConselhoClasse));
     this.repositorioTipoCalendario  = repositorioTipoCalendario ?? throw new ArgumentNullException(nameof(repositorioTipoCalendario));
     this.mediator = mediator ?? throw new ArgumentNullException(nameof(mediator));
 }
 public ComandosPlanoAnual(IRepositorioPlanoAnual repositorioPlanoAnual,
                           IRepositorioObjetivoAprendizagemPlano repositorioObjetivoAprendizagemPlano,
                           IRepositorioComponenteCurricularJurema repositorioComponenteCurricular,
                           IConsultasObjetivoAprendizagem consultasObjetivoAprendizagem,
                           IConsultasProfessor consultasProfessor,
                           IConsultasTurma consultasTurma,
                           IConsultasPlanoAnual consultasPlanoAnual,
                           IUnitOfWork unitOfWork,
                           IServicoUsuario servicoUsuario)
 {
     this.repositorioPlanoAnual = repositorioPlanoAnual ?? throw new ArgumentNullException(nameof(repositorioPlanoAnual));
     this.repositorioObjetivoAprendizagemPlano = repositorioObjetivoAprendizagemPlano ?? throw new ArgumentNullException(nameof(repositorioObjetivoAprendizagemPlano));
     this.repositorioComponenteCurricular      = repositorioComponenteCurricular ?? throw new ArgumentNullException(nameof(repositorioComponenteCurricular));
     this.consultasObjetivoAprendizagem        = consultasObjetivoAprendizagem ?? throw new ArgumentNullException(nameof(consultasObjetivoAprendizagem));
     this.consultasProfessor  = consultasProfessor ?? throw new ArgumentNullException(nameof(consultasProfessor));
     this.consultasTurma      = consultasTurma ?? throw new ArgumentNullException(nameof(consultasTurma));
     this.consultasPlanoAnual = consultasPlanoAnual ?? throw new ArgumentNullException(nameof(consultasProfessor));
     this.unitOfWork          = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
     this.servicoUsuario      = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
 }
 public ConsultasFechamentoTurmaDisciplina(IRepositorioFechamentoTurmaDisciplina repositorioFechamentoTurmaDisciplina,
                                           IRepositorioTipoCalendario repositorioTipoCalendario,
                                           IRepositorioTurma repositorioTurma,
                                           IRepositorioPeriodoEscolar repositorioPeriodoEscolar,
                                           IConsultasFrequencia consultasFrequencia,
                                           IConsultasAulaPrevista consultasAulaPrevista,
                                           IConsultasPeriodoEscolar consultasPeriodoEscolar,
                                           IConsultasFechamentoNota consultasFechamentoNota,
                                           IServicoEol servicoEOL,
                                           IServicoUsuario servicoUsuario,
                                           IServicoAluno servicoAluno,
                                           IRepositorioConceito repositorioConceito,
                                           IRepositorioSintese repositorioSintese,
                                           IRepositorioParametrosSistema repositorioParametrosSistema,
                                           IConsultasPeriodoFechamento consultasFechamento,
                                           IConsultasDisciplina consultasDisciplina,
                                           IConsultasFechamentoAluno consultasFechamentoAluno,
                                           IConsultasPeriodoFechamento consultasPeriodoFechamento,
                                           IConsultasTurma consultasTurma
                                           )
 {
     this.repositorioFechamentoTurmaDisciplina = repositorioFechamentoTurmaDisciplina ?? throw new ArgumentNullException(nameof(repositorioFechamentoTurmaDisciplina));
     this.repositorioTipoCalendario            = repositorioTipoCalendario ?? throw new ArgumentNullException(nameof(repositorioTipoCalendario));
     this.repositorioTurma          = repositorioTurma ?? throw new ArgumentNullException(nameof(repositorioTurma));
     this.repositorioPeriodoEscolar = repositorioPeriodoEscolar ?? throw new ArgumentNullException(nameof(repositorioPeriodoEscolar));
     this.consultasFrequencia       = consultasFrequencia ?? throw new ArgumentNullException(nameof(consultasFrequencia));
     this.consultasAulaPrevista     = consultasAulaPrevista ?? throw new ArgumentNullException(nameof(consultasAulaPrevista));
     this.consultasPeriodoEscolar   = consultasPeriodoEscolar ?? throw new ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.consultasFechamentoNota   = consultasFechamentoNota ?? throw new ArgumentNullException(nameof(consultasFechamentoNota));
     this.servicoEOL                   = servicoEOL ?? throw new ArgumentNullException(nameof(servicoEOL));
     this.servicoUsuario               = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
     this.servicoAluno                 = servicoAluno ?? throw new ArgumentNullException(nameof(servicoAluno));
     this.repositorioConceito          = repositorioConceito ?? throw new ArgumentNullException(nameof(repositorioConceito));
     this.repositorioSintese           = repositorioSintese ?? throw new ArgumentNullException(nameof(repositorioSintese));
     this.repositorioParametrosSistema = repositorioParametrosSistema ?? throw new ArgumentNullException(nameof(repositorioParametrosSistema));
     this.consultasFechamento          = consultasFechamento ?? throw new ArgumentNullException(nameof(consultasFechamento));
     this.consultasDisciplina          = consultasDisciplina ?? throw new ArgumentNullException(nameof(consultasDisciplina));
     this.consultasFehcamentoAluno     = consultasFechamentoAluno ?? throw new ArgumentNullException(nameof(consultasFechamentoAluno));
     this.consultasPeriodoFechamento   = consultasPeriodoFechamento ?? throw new ArgumentNullException(nameof(consultasPeriodoFechamento));
     this.consultasTurma               = consultasTurma ?? throw new ArgumentNullException(nameof(consultasTurma));
 }
 public ConsultasObjetivoAprendizagem(IServicoJurema servicoJurema,
                                      IRepositorioCache repositorioCache,
                                      IRepositorioComponenteCurricularJurema repositorioComponenteCurricular,
                                      IRepositorioObjetivoAprendizagemPlano repositorioObjetivosPlano,
                                      IConfiguration configuration,
                                      IServicoUsuario servicoUsuario,
                                      IConsultasPeriodoEscolar consultasPeriodoEscolar,
                                      IConsultasTurma consultasTurma,
                                      IRepositorioObjetivoAprendizagem repositorioObjetivoAprendizagem,
                                      IServicoEol servicoEol)
 {
     this.servicoJurema    = servicoJurema ?? throw new ArgumentNullException(nameof(servicoJurema));
     this.repositorioCache = repositorioCache ?? throw new ArgumentNullException(nameof(repositorioCache));
     this.repositorioComponenteCurricular = repositorioComponenteCurricular ?? throw new ArgumentNullException(nameof(repositorioComponenteCurricular));
     this.configuration                   = configuration ?? throw new ArgumentNullException(nameof(configuration));
     this.servicoUsuario                  = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
     this.consultasPeriodoEscolar         = consultasPeriodoEscolar ?? throw new ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.consultasTurma                  = consultasTurma ?? throw new ArgumentNullException(nameof(consultasTurma));
     this.repositorioObjetivoAprendizagem = repositorioObjetivoAprendizagem ?? throw new ArgumentNullException(nameof(repositorioObjetivoAprendizagem));
     this.repositorioObjetivosPlano       = repositorioObjetivosPlano ?? throw new ArgumentNullException(nameof(repositorioObjetivosPlano));
     this.servicoEol = servicoEol ?? throw new ArgumentNullException(nameof(servicoEol));
 }
示例#11
0
        public ServicoConselhoClasse(IRepositorioConselhoClasse repositorioConselhoClasse,
                                     IRepositorioConselhoClasseAluno repositorioConselhoClasseAluno,
                                     IRepositorioFechamentoTurma repositorioFechamentoTurma,
                                     IRepositorioConselhoClasseParecerConclusivo repositorioParecer,
                                     IRepositorioTipoCalendario repositorioTipoCalendario,
                                     IRepositorioFechamentoTurmaDisciplina repositorioFechamentoTurmaDisciplina,
                                     IRepositorioUe repositorioUe,
                                     IRepositorioDre repositorioDre,
                                     IConsultasPeriodoEscolar consultasPeriodoEscolar,
                                     IConsultasTurma consultasTurma,
                                     IConsultasPeriodoFechamento consultasPeriodoFechamento,
                                     IConsultasConselhoClasse consultasConselhoClasse,
                                     IConsultasDisciplina consultasDisciplina,
                                     IRepositorioConselhoClasseNota repositorioConselhoClasseNota,
                                     IUnitOfWork unitOfWork,
                                     IServicoCalculoParecerConclusivo servicoCalculoParecerConclusivo,
                                     IMediator mediator)

        {
            this.repositorioConselhoClasse            = repositorioConselhoClasse ?? throw new ArgumentNullException(nameof(repositorioConselhoClasse));
            this.repositorioConselhoClasseAluno       = repositorioConselhoClasseAluno ?? throw new ArgumentNullException(nameof(repositorioConselhoClasseAluno));
            this.repositorioFechamentoTurma           = repositorioFechamentoTurma ?? throw new ArgumentNullException(nameof(repositorioFechamentoTurma));
            this.repositorioParecer                   = repositorioParecer ?? throw new ArgumentNullException(nameof(repositorioParecer));
            this.repositorioTipoCalendario            = repositorioTipoCalendario ?? throw new ArgumentNullException(nameof(repositorioTipoCalendario));
            this.repositorioFechamentoTurmaDisciplina = repositorioFechamentoTurmaDisciplina ?? throw new ArgumentNullException(nameof(repositorioFechamentoTurmaDisciplina));
            this.repositorioUe                 = repositorioUe ?? throw new ArgumentNullException(nameof(repositorioUe));
            this.repositorioDre                = repositorioDre ?? throw new ArgumentNullException(nameof(repositorioDre));
            this.consultasPeriodoEscolar       = consultasPeriodoEscolar ?? throw new ArgumentNullException(nameof(consultasPeriodoEscolar));
            this.consultasTurma                = consultasTurma ?? throw new ArgumentNullException(nameof(consultasTurma));
            this.consultasPeriodoFechamento    = consultasPeriodoFechamento ?? throw new ArgumentNullException(nameof(consultasPeriodoFechamento));
            this.repositorioConselhoClasseNota = repositorioConselhoClasseNota ?? throw new ArgumentNullException(nameof(repositorioConselhoClasseNota));
            this.consultasConselhoClasse       = consultasConselhoClasse ?? throw new ArgumentNullException(nameof(consultasConselhoClasse));
            this.consultasDisciplina           = consultasDisciplina ?? throw new ArgumentNullException(nameof(consultasDisciplina));
            this.unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork));
            this.servicoCalculoParecerConclusivo = servicoCalculoParecerConclusivo ?? throw new ArgumentNullException(nameof(servicoCalculoParecerConclusivo));
            this.mediator = mediator ?? throw new ArgumentNullException(nameof(mediator));
        }
 public ConsultasConselhoClasse(IRepositorioConselhoClasse repositorioConselhoClasse,
                                IRepositorioPeriodoEscolar repositorioPeriodoEscolar,
                                IRepositorioParametrosSistema repositorioParametrosSistema,
                                IRepositorioConselhoClasseAluno repositorioConselhoClasseAluno,
                                IRepositorioTipoCalendario repositorioTipoCalendario,
                                IRepositorioFechamentoTurma repositorioFechamentoTurma,
                                IConsultasTurma consultasTurma,
                                IConsultasPeriodoEscolar consultasPeriodoEscolar,
                                IConsultasPeriodoFechamento consultasPeriodoFechamento,
                                IConsultasFechamentoTurma consultasFechamentoTurma,
                                IServicoDeNotasConceitos servicoDeNotasConceitos)
 {
     this.repositorioConselhoClasse      = repositorioConselhoClasse ?? throw new ArgumentNullException(nameof(repositorioConselhoClasse));
     this.repositorioPeriodoEscolar      = repositorioPeriodoEscolar ?? throw new ArgumentNullException(nameof(repositorioPeriodoEscolar));
     this.repositorioParametrosSistema   = repositorioParametrosSistema ?? throw new ArgumentNullException(nameof(repositorioParametrosSistema));
     this.repositorioConselhoClasseAluno = repositorioConselhoClasseAluno ?? throw new ArgumentNullException(nameof(repositorioConselhoClasseAluno));
     this.repositorioTipoCalendario      = repositorioTipoCalendario ?? throw new ArgumentNullException(nameof(repositorioTipoCalendario));
     this.repositorioFechamentoTurma     = repositorioFechamentoTurma ?? throw new ArgumentNullException(nameof(repositorioFechamentoTurma));
     this.consultasTurma             = consultasTurma ?? throw new ArgumentNullException(nameof(consultasTurma));
     this.consultasPeriodoEscolar    = consultasPeriodoEscolar ?? throw new ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.consultasPeriodoFechamento = consultasPeriodoFechamento ?? throw new ArgumentNullException(nameof(consultasPeriodoFechamento));
     this.consultasFechamentoTurma   = consultasFechamentoTurma ?? throw new ArgumentNullException(nameof(consultasFechamentoTurma));
     this.servicoDeNotasConceitos    = servicoDeNotasConceitos ?? throw new ArgumentNullException(nameof(servicoDeNotasConceitos));
 }
示例#13
0
 public ConsultasAula(IRepositorioAula repositorio,
                      IConsultasPeriodoEscolar consultasPeriodoEscolar,
                      IConsultasFrequencia consultasFrequencia,
                      IConsultasTipoCalendario consultasTipoCalendario,
                      IRepositorioPlanoAula repositorioPlanoAula,
                      IRepositorioTurma repositorioTurma,
                      IServicoUsuario servicoUsuario,
                      IServicoEol servicoEol,
                      IConsultasDisciplina consultasDisciplina,
                      IConsultasTurma consultasTurma,
                      IConsultasPeriodoFechamento consultasPeriodoFechamento)
 {
     this.repositorio                = repositorio ?? throw new ArgumentNullException(nameof(repositorio));
     this.servicoUsuario             = servicoUsuario ?? throw new ArgumentNullException(nameof(servicoUsuario));
     this.servicoEol                 = servicoEol ?? throw new ArgumentNullException(nameof(servicoEol));
     this.consultasDisciplina        = consultasDisciplina ?? throw new ArgumentNullException(nameof(consultasDisciplina));
     this.consultasTurma             = consultasTurma ?? throw new ArgumentNullException(nameof(consultasTurma));
     this.consultasPeriodoFechamento = consultasPeriodoFechamento ?? throw new ArgumentNullException(nameof(consultasPeriodoFechamento));
     this.consultasPeriodoEscolar    = consultasPeriodoEscolar ?? throw new ArgumentNullException(nameof(consultasPeriodoEscolar));
     this.consultasFrequencia        = consultasFrequencia ?? throw new ArgumentNullException(nameof(consultasFrequencia));
     this.consultasTipoCalendario    = consultasTipoCalendario ?? throw new ArgumentNullException(nameof(consultasTipoCalendario));
     this.repositorioPlanoAula       = repositorioPlanoAula ?? throw new ArgumentNullException(nameof(repositorioPlanoAula));
     this.repositorioTurma           = repositorioTurma ?? throw new ArgumentNullException(nameof(repositorioTurma));
 }
示例#14
0
        public async Task <IActionResult> PeriodosEmAberto(string turmaCodigo, [FromQuery] DateTime dataReferencia, [FromServices] IConsultasTurma consultas)
        {
            var dataConsulta = dataReferencia == DateTime.MinValue ? DateTime.Today : dataReferencia;

            return(Ok(await consultas.PeriodosEmAbertoTurma(turmaCodigo, dataConsulta)));
        }
示例#15
0
 public async Task <IActionResult> ObterAlunosTurma(string turmaCodigo, int anoLetivo, [FromServices] IConsultasTurma consultas)
 => Ok(await consultas.ObterDadosAlunos(turmaCodigo, anoLetivo));