/// <summary> /// 检查车辆类型信息是否存在 /// </summary> /// <param name="predicate">检查谓语表达式</param> /// <param name="id">更新的车辆类型信息编号</param> /// <returns>车辆类型信息是否存在</returns> public virtual Task <bool> CheckVehicleTypeExists(Expression <Func <VehicleType, bool> > predicate, int id = default(int)) { return(VehicleTypeRepository.CheckExistsAsync(predicate, id)); }