Exemple #1
0
        public async Task <ActionResult> Delete(Guid id)
        {
            var aluno = await _pagamentoRepository.GetByIdNoTracking(id);

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

            await _pagamentoService.Delete(id);

            return(CustomResponse());
        }