Пример #1
0
        public async Task <IActionResult> Editar([FromBody] EditarUsuarioRequest request)
        {
            try
            {
                AtualizarUsuarioLogado();

                return(await ResponseAsync(_serviceUsuario.Editar(request), _serviceUsuario));
            }
            catch (Exception e)
            {
                return(await ResponseExceptionAsync(e));
            }
        }