Exemple #1
0
        public async Task <ActionResult> DeleteAluno(Guid id)
        {
            var aluno = await _repository.GetAlunoAssinatura(id);

            if (aluno == null)
            {
                return(NotFound());
            }

            await _alunoService.Delete(aluno);

            return(CustomResponse());
        }