Exemple #1
0
 public UserService(
     Func <IUPSikDbContext> UPSikDbContextFactoryMethod,
     IGeoMapService geoMapService,
     IPackageDeliveryConfigValues packageDeliveryConfigValues)
 {
     _UPSikDbContextFactoryMethod = UPSikDbContextFactoryMethod;
     _geoMapService = geoMapService;
     _packageDeliveryConfigValues = packageDeliveryConfigValues;
 }
 public ShippingPlannerService(
     Func <IUPSikDbContext> dbContextFactoryMethod,
     IGeoMapService geoMapService,
     IPackageDeliveryConfigValues packageDeliveryConfigValues,
     IPackageService packageService)
 {
     _dbContextFactoryMethod      = dbContextFactoryMethod;
     _geoMapService               = geoMapService;
     _packageDeliveryConfigValues = packageDeliveryConfigValues;
     _packageService              = packageService;
 }
 public PackingListService(
     IVehicleService vehicleService,
     IPackageService packageService,
     IUserService userService,
     ITimeCalculator timeCalculator,
     Func <IUPSikDbContext> dbContextFactoryMethod,
     IPackageDeliveryConfigValues packageDeliveryConfigValues,
     IGeoMapService geoMapService,
     IShippingPlannerService shippingPlannerService)
 {
     _vehicleService              = vehicleService;
     _packageService              = packageService;
     _userService                 = userService;
     _timeCalculator              = timeCalculator;
     _dbContextFactoryMethod      = dbContextFactoryMethod;
     _packageDeliveryConfigValues = packageDeliveryConfigValues;
     _geoMapService               = geoMapService;
     _shippingPlannerService      = shippingPlannerService;
 }