コード例 #1
0
        public IActionResult Details(int id)
        {
            var hardware = _hardwareRepository.GetHardwareById(id);

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

            return(View(hardware));
        }