// GET: Products/Details/5
        public async Task <IActionResult> Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var product = await _context.GetProductAsync(id.Value);

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

            return(View(product));
        }