public TrainsPlanesCars(ILocomotiveService locomotiveService,
                         ILocomotiveTypeService typeService,
                         IRailwaysManufacturService manufacturesService)
 {
     this.LocomotiveService    = locomotiveService;
     this.TypeService          = typeService;
     this.ManufacturersService = manufacturesService;
 }
 public TrainsPlanesCarsController(ILocomotiveService service,
                                   ITrainsPlanesCars helper,
                                   IDecoderhelper decoderhelper)
 {
     this.service       = service;
     this.helper        = helper;
     this.decoderhelper = decoderhelper;
 }
示例#3
0
 public ImportPhotoService(IPhotoService photoService,
                           IRepository <Location> locationRepository,
                           IUserService userService,
                           ILocomotiveService locomotiveService,
                           IRoadService roadService,
                           IRepository <Album> albumRepository,
                           ICrossReferenceService crossReferenceService,
                           IRepository <StateProvince> stateProvinceRepository,
                           IHttpClientFactory httpClientFactory,
                           ILogger <ImportPhotoService> logger)
 {
     _photoService            = photoService;
     _locationRepository      = locationRepository;
     _userService             = userService;
     _locomotiveService       = locomotiveService;
     _roadService             = roadService;
     _albumRepository         = albumRepository;
     _crossReferenceService   = crossReferenceService;
     _stateProvinceRepository = stateProvinceRepository;
     _httpClientFactory       = httpClientFactory;
     _logger = logger;
 }