private ActionResult ChePinIndex(string categoryName)
        {
            ViewBag.Title = "车品分期购配置";
            var brands = RecommendManager.GetBrandsByCategoryName(categoryName);

            return(View(Tuple.Create(brands)));
        }
        private ActionResult HubIndex(string categoryName)
        {
            ViewBag.Title = "轮毂分期购配置";
            var brands   = RecommendManager.GetBrandsByCategoryName(categoryName);
            var hubSizes = RecommendManager.SelectALLHubSize();

            return(View(Tuple.Create(brands, hubSizes)));
        }
        private ActionResult TireIndex(string categoryName)
        {
            ViewBag.Title = "轮胎分期购配置";
            var brands = RecommendManager.GetBrandsByCategoryName(categoryName);
            IEnumerable <TireSizeModel> tireSizes = null;

            if (categoryName == "Tires")
            {
                tireSizes = RecommendManager.SelectALLTireSize();
            }
            else if (categoryName == "hub")
            {
                tireSizes = RecommendManager.SelectALLHubSize();
            }
            else
            {
                tireSizes = new List <TireSizeModel>();
            }
            return(View("Index", Tuple.Create(brands, tireSizes)));
        }