Exemplo n.º 1
0
        public async Task CadastraAlunoAsync(AlunoEntrada aluno)
        {
            IAluno alunoModel = await alunoService.ConsultarAlunoPorCpfAsync(aluno.CPF);

            if (alunoModel != null)
            {
                return;
            }

            //alunoModel = new Aluno(alunno); Falta implementar

            await alunoService.CadastraAlunoAsync(alunoModel);
        }