public IActionResult PutDearlership(int id, Dealership dealership)
        {
            if (id != dealership.Id)
            {
                return(BadRequest());
            }

            _dealership.PutDearlership(id, dealership);

            return(NoContent());
        }