Example #1
0
 public void Modify(CarModel car)
 {
     db.OpenConnection();
     db.Modify(car);
     db.CloseConnection();
 }
Example #2
0
 public CarPresenter(ICarView view)
 {
     this.view = view;
     car       = new CarModel();
     InitializePresenter();
 }
Example #3
0
 public void Add(CarModel car)
 {
     db.OpenConnection();
     db.Insert(car);
     db.CloseConnection();
 }