public IntegrationController(ApplicationDbContext context,
                              ISegmentService segmentService,
                              IPriceService priceService,
                              IParcelService parcelService)
 {
     this.context        = context;
     this.segmentService = segmentService;
     this.priceService   = priceService;
     this.parcelService  = parcelService;
 }
Exemple #2
0
 public SearchPageModel(ICityService cityService,
                        IParcelCategoryService parcelCategoryService,
                        IRouteService routeService,
                        IParcelService parcelService,
                        IPriceService priceService)
 {
     _cityService           = cityService;
     _parcelCategoryService = parcelCategoryService;
     _routeService          = routeService;
     this.parcelService     = parcelService;
     this.priceService      = priceService;
 }
Exemple #3
0
 public RejectingParcelUser(string postalCode, IParcelService parcelService)
 {
     this.PostalCode     = postalCode;
     this._parcelService = parcelService;
 }
Exemple #4
0
 public TestController(IParcelService parcelService)
 {
     _parcelService = parcelService;
 }
Exemple #5
0
 public ParcelsController(IParcelService parcelService, ICommandDispatcher commandDispatcher)
 {
     this.parcelService     = parcelService;
     this.commandDispatcher = commandDispatcher;
 }
Exemple #6
0
 public void Init()
 {
     _parcelService = new ParcelService();
 }
 public ParcelModel(IParcelService parcelService)
 {
     _parcelSvc = parcelService;
 }
Exemple #8
0
 public PriceService(ApplicationDbContext context,
                     IParcelService parcelService)
 {
     this.context       = context;
     this.parcelService = parcelService;
 }
Exemple #9
0
 public RouteController(IRouteService routeService, IParcelService parcelService)
 {
     _routeService  = routeService;
     _parcelService = parcelService;
 }
 public CreateParcelHandler(IParcelService parcelService)
 {
     this.parcelService = parcelService;
 }
 public ParcelsController(ICommandDispatcher commandDispatcher,
                          IParcelService parcelService) : base(commandDispatcher)
 {
     _parcelService = parcelService;
 }
 public DeliveryTests(ITestOutputHelper testOutputHelper)
 {
     _testOutputHelper = testOutputHelper;
     _parcelService    = new ParcelService(Settings());
     _deliveryService  = new DeliveryService(Settings());
 }
 public DeliveryExtensionsTests(ITestOutputHelper testOutputHelper)
 {
     _testOutputHelper = testOutputHelper;
     _parcelService    = new ParcelService(Settings());
 }
 public ParcelsController(IParcelService parcelService, ILocationService locationService)
 {
     _parcelService = parcelService;
 }
Exemple #15
0
 public AcceptingParcelUser(string postalCode, IParcelService parcelService)
 {
     this.PostalCode       = postalCode;
     this._parcelService   = parcelService;
     this._parcelsReceived = new List <Parcel>();
 }
Exemple #16
0
 public HomeController(IParcelService parcelSvc)
 {
     _parcelSvc = parcelSvc;
 }
Exemple #17
0
 public DataSeeder(IParcelService parcelService, IOptions <AppOptions> options)
 {
     _parcelService = parcelService;
     _seed          = options.Value.SeedData;
 }
 public ParcelsController(IParcelService parcelService, IAuthHelper authHelper)
 {
     this.parcelService = parcelService;
     this.authHelper    = authHelper;
 }
Exemple #19
0
 public ServiceContainer(IContainerRepository containerRepository, IParcelService parcelService)
 {
     _containerRepository = containerRepository;
     _parcelService       = parcelService;
 }
Exemple #20
0
        public TestFixture()
        {
            IDepartmentFactory departmentFactory = new DepartmentFactory();

            service = new ParcelService(departmentFactory);
        }