コード例 #1
0
        public async Task <IActionResult> GetAll()
        {
            var result = await _usuarioApp.GetAll();

            if (result.Sucesso)
            {
                return(Ok(result));
            }
            else
            {
                return(BadRequest(result));
            }
        }