Example #1
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 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));
 }
Example #3
0
 public async Task <IActionResult> ObterAnotacaoAluno(string codigoAluno, long fechamentoId, string codigoTurma, int anoLetivo, [FromServices] IConsultasFechamentoAluno consultas)
 => Ok(await consultas.ObterAnotacaoAluno(codigoAluno, fechamentoId, codigoTurma, anoLetivo));