/// <summary> /// 在售车辆 /// </summary> /// <returns></returns> public ActionResult CarOnSale() { CarOnSaleViewModel model=new CarOnSaleViewModel(); BrandBll brandBll=new BrandBll(); CarTypeBll carTypeBll=new CarTypeBll(); model.brands = brandBll.GetAllBrands(); model.carTypes = carTypeBll.GetAllCarTypes(); return View(model); }