Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.37 KB | None | 0 0
  1.  public Car GetCar(string licenseplate)
  2.         {
  3.             CarRepository carRepo = new CarRepository();
  4.             Car car = carRepo.GetCar(licenseplate);
  5.  
  6.             return car;
  7.         }
  8.  
  9.         public bool ChangeCar(Car carToUpdate)
  10.         {
  11.             CarRepository carRepo = new CarRepository();
  12.             return carRepo.ChangeCar(carToUpdate);
  13.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement