Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <IEnumerable <CpfResponsavelAlunoEol> > Handle(ObterCpfsDeResponsaveisPorDreEUeQuery request, CancellationToken cancellationToken) { var cpfsDeResponsavel = await _alunoRepositorio.ObterCpfsDeResponsaveis(request.CodigoDre, request.CodigoUe); if (cpfsDeResponsavel == null || !cpfsDeResponsavel.Any()) { throw new NegocioException("Não existem registros de responsáveis para a DRE e UE informadas."); } return(cpfsDeResponsavel); }