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