Exemplo n.º 1
0
        public async Task <IActionResult> Edit(int id)
        {
            var response = await _clientsService.FindApiResourceByIdAsync(id);

            if (!response.IsSuccess)
            {
                return(NotFound());
            }
            return(View(response.Result));
        }