Example #1
0
 public LoadsController(
     ILoadsService loadsService,
     ICountriesService countriesService,
     IPriorityTypesService priorityTypesService,
     ITruckTypesService truckTypesService)
 {
     this.loadsService         = loadsService;
     this.countriesService     = countriesService;
     this.priorityTypesService = priorityTypesService;
     this.truckTypesService    = truckTypesService;
 }
Example #2
0
 public TrucksController(
     ITrucksService trucksService,
     ICountriesService countriesService,
     IPriorityTypesService priorityTypesService,
     ITruckTypesService truckTypesService)
 {
     this.trucksService        = trucksService;
     this.countriesService     = countriesService;
     this.priorityTypesService = priorityTypesService;
     this.truckTypesService    = truckTypesService;
 }
Example #3
0
 public TrucksService(
     IDeletableEntityRepository <Order> orderRepository,
     IAddressesService addressesService,
     IMapper mapper,
     IPriorityTypesService priorityTypesService,
     ITruckTypesService truckTypesService,
     IUsersService usersService)
 {
     this.orderRepository      = orderRepository;
     this.addressesService     = addressesService;
     this.mapper               = mapper;
     this.priorityTypesService = priorityTypesService;
     this.truckTypesService    = truckTypesService;
     this.usersService         = usersService;
 }