Esempio n. 1
0
        public async Task <IActionResult> ObterPorId(Guid idAutor)
        {
            try
            {
                AtualizarUsuarioLogado();

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