public ActionResult <Hardware> GetHardware(int id)
        {
            Hardware hardware = _hardwareRepository.GetHardware(id);

            if (hardware != null)
            {
                return(hardware);
            }
            return(BadRequest());
        }