示例#1
0
 public MileageController(
     IContext context,
     IMileageService mileageService
     ) : base(context)
 {
     this.mileageService = mileageService;
 }
示例#2
0
 public CarReport(
     IContext Context,
     IMileageService mileageService
     ) : base(Context)
 {
     this.mileageService = mileageService;
 }
 public MileageReportService(IRepository rep, IPositionService positionService, IMileageService mileageService, IMapService mapService)
 {
     _rep = rep;
     _positionService = positionService;
     _mileageService = mileageService;
     _mapService = mapService;
 }
 public RepeatingItemService(
     IContext context,
     IMileageService mileageService
     ) : base(context)
 {
     this.mileageService = mileageService;
 }
示例#5
0
 public LineService(IRepository rep, ICacheService cacheService, IMapService mapService, IPositionService positionService, IMileageService mileageService)
 {
     _rep = rep;
     _cacheService = cacheService;
     _mapService = mapService;
     _positionService = positionService;
     _mileageService = mileageService;
 }
 public ReminderReportService(
     IContext context,
     IMileageService mileageService,
     IEmailService emailService
     ) : base(context)
 {
     this.mileageService = mileageService;
     this.emailService   = emailService;
 }
示例#7
0
 public WorkItemService(
     IContext context,
     IMileageService mileageService,
     ICurrentUserService currentUserService,
     IRepeatingItemService repeatingItemService
     ) : base(context)
 {
     this.currentUserService   = currentUserService;
     this.mileageService       = mileageService;
     this.repeatingItemService = repeatingItemService;
 }
示例#8
0
 public SmartSpotPriceService(SmartSpotPriceConfig config, LoadshopDataContext context, IMapper mapper,
                              HttpClient httpClient,
                              IUserContext userContext,
                              IRecaptchaService recaptchaService,
                              IMileageService mileageService,
                              ISecurityService securityService,
                              ILoadCarrierGroupService loadCarrierGroupService,
                              IShippingService shippingService)
 {
     _config                  = config;
     _db                      = context;
     _mapper                  = mapper;
     _httpClient              = httpClient;
     _userContext             = userContext;
     _recaptchaService        = recaptchaService;
     _mileageService          = mileageService;
     _securityService         = securityService;
     _loadCarrierGroupService = loadCarrierGroupService;
     _shippingService         = shippingService;
 }
示例#9
0
 public PositionService(
     IRepository rep,
     IMapService mapService,
     IMileageService mileageService, INodeService nodeService)
 {
     _rep = rep;
     _mapService = mapService;
     _mileageService = mileageService;
     _nodeService = nodeService;
 }