public ActionResult BMW(int id)
 {
     var model = new CarBuySearchModel(id);
     if (id <= 0)
     {
         return RedirectToAction("PageNotFound", "PageLink");
     }
     if (id <= 10)
     {
         model.MainCars = carCache.GetMainCarBuyBMW().Skip((id - 1) * 10).Take(10).ToList();
     }
     else
     {
         //缓存中数量超过100个的时候 才可能有后续数据 这个时候才去读取 否则不读取  默认100个   
         if (model.MainCars.Count == 100)
         {
             model.MainCars = carSearch.SearchByCatagroy(ChannelListDetailCatagroy.BMW, (id - 1), 10);
         }
     }
     
     model.CheckModel();
     return View(model);
 }
 public ActionResult CarBuySearch(string key, int page, 
     int area, int city,
     int clc)
 {
     var model = new CarBuySearchModel(page);
     model.Key = key;
     model.AreaId = area;
     model.CityId = city;
     model.Clc = clc;
     model.MainCars = buyCarSearch.SearchByKey(key, area, city, page - 1, 10, clc);
     model.CheckModel();
     return View(model);
 }