Пример #1
0
        public async Task <IActionResult> Get(int id)
        {
            var result = await _countryRepo.Detail(id);

            if (result == null)
            {
                return(NotFound());
            }

            return(Ok(result));
        }