Beispiel #1
0
 public AdminEditVehicleViewModel()
 {
     Vehicle          = new Vehicle();
     AllMakes         = new MakesDictionary();
     AllModels        = new ModelsDictionary();
     AllBodyStyles    = new BodyStyleDictionary();
     AllColors        = new ColorDictionary();
     AllTransmissions = new TransmissionDictionary();
     AllInteriors     = new InteriorDictionary();
 }
Beispiel #2
0
 public AdminAddVehicleViewModel()
 {
     NewVehicle = new Vehicle {
         InStock = true
     };
     AllMakes         = new MakesDictionary();
     AllModels        = new ModelsDictionary();
     AllBodyStyles    = new BodyStyleDictionary();
     AllColors        = new ColorDictionary();
     AllTransmissions = new TransmissionDictionary();
     AllInteriors     = new InteriorDictionary();
 }