Exemplo n.º 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();
 }
Exemplo n.º 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();
 }