Beispiel #1
0
 public IDataResult <Car> GetById(int carId)
 {
     return(new SuccessDataResult <Car>(_carDao.Get(c => c.CarId == carId)));
 }
Beispiel #2
0
 public Car Get(string number)
 {
     return(_carDao.Get(number));
 }
Beispiel #3
0
 public IDataResult <Car> GetById(int id)
 {
     return(new SuccessDataResult <Car>(_carDao.Get(car => car.CarId == id)));;
 }