Exemple #1
0
 public CarViewModel(Cars car, Window window)
 {
     unitOfWork = new UnitOfWork();
     _car       = car;
     _window    = window;
 }
Exemple #2
0
 public CarView(Cars car)
 {
     InitializeComponent();
     DataContext = new CarViewModel(car, this);
 }