Esempio n. 1
0
        // GET: Amigo/Details/5
        public async Task <IActionResult> Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var amigoEntity = await _domainService.GetByIdAsync(id.Value);

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

            return(View(amigoEntity));
        }