コード例 #1
0
 //[CacheAspect]
 public IDataResult <VehicleType> GetByVehicleTypeId(int vehicleTypeId)
 {
     return(new SuccessDataResult <VehicleType>(_vehicleTypeDal.Get(t => t.Id == vehicleTypeId)));
 }
コード例 #2
0
 public IDataResult <VehicleType> GetById(int vehicleTypeId)
 {
     return(new SuccessDataResult <VehicleType>(_vehicleTypeDal.Get(c => c.ID == vehicleTypeId)));
 }