示例#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));
 }