public void Create(DetailViewModel model) { var detailModel = new DetailModel { Price = model.Price, CarId = model.CarId, ManufacturerId = model.ManufacturerId, TypeId = model.TypeId }; detailService.Create(detailModel); }