コード例 #1
0
        public async Task <IActionResult> GetUfs()
        {
            var response = _servicePessoa.ListarUfs();

            if (response != null)
            {
                return(await ResponseAsync(response));
            }
            return(CreatedAtAction("GetUfs", new { HttpStatusCode.NoContent }));
        }