Пример #1
0
 Car ICarService.Update(Car car)
 {
     return(carsRepository.Update(car));
 }
Пример #2
0
 public bool IsCarExist(Guid id, out Car car)
 {
     car = carsRepository.Find(id);
     return(car != null);
 }
Пример #3
0
 public Car Add(Car car)
 {
     return(carsRepository.Add(car));
 }