コード例 #1
0
 public CarDetailsViewModel(BLL.Cars.Car car, EnquiryViewModel enquiry)
 {
     this.Car           = car;
     this.Enquiry       = enquiry;
     this.Enquiry.CarID = this.Car.CarID;
 }
コード例 #2
0
 public CarDetailsViewModel(BLL.Cars.Car car)
 {
     this.Car     = car;
     this.Enquiry = new EnquiryViewModel(car.CarID);
 }