public IActionResult Details(int id)
        {
            var hardware = _hardwareRepository.GetHardwareById(id);

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

            return(View(hardware));
        }