public IEnumerable <DetailViewModel> GetAll()
        {
            var details          = detailService.GetAll();
            var detailViewModels = details.Select(x => new DetailViewModel
            {
                Price          = x.Price,
                CarId          = x.CarId,
                ManufacturerId = x.ManufacturerId,
                TypeId         = x.TypeId
            });

            return(detailViewModels);
        }
 /// <summary>
 /// 查询所有明细
 /// </summary>
 /// <returns></returns>
 public IList <Detail> Get()
 {
     return(DetailService.GetAll());
 }