Beispiel #1
0
        public IActionResult Details(int id)
        {
            var model = _whiskeyData.Get(id);

            if (model == null)
            {
                return(RedirectToAction("Index"));
            }

            return(View(model));
        }