Exemplo n.º 1
0
        public async Task <IActionResult> Remover(Guid idAutor)
        {
            try
            {
                AtualizarUsuarioLogado();

                return(await ResponseAsync(_serviceAutor.Excluir(idAutor), _serviceAutor));
            }
            catch (Exception e)
            {
                return(await ResponseExceptionAsync(e));
            }
        }