Пример #1
0
 public DiaryController(IDiaryService diaryService, ISiteService siteService, ITravelService travelService, IRouteService routeService)
 {
     this._diaryService  = diaryService;
     this._siteService   = siteService;
     this._travelService = travelService;
     this._routeService  = routeService;
 }
Пример #2
0
 public Directories(IAccountService accountService,
                    ISubdivisionsService subdivisionsService,
                    IPositionService positionService,
                    IDormitoryService dormitoryService,
                    IDepartmentalService departmentalService,
                    IQualificationService scientificService,
                    ISocialActivityService socialActivity,
                    IPrivilegesService privilegesService,
                    IHobbyService hobbyService,
                    ITravelService travelService,
                    IWellnessService wellnessService,
                    ITourService tourService,
                    ICulturalService culturalService,
                    IActivitiesService activitiesService,
                    IAwardService awardService,
                    IMaterialAidService materialAidService)
 {
     _accountService      = accountService;
     _subdivisionsService = subdivisionsService;
     _positionService     = positionService;
     _dormitoryService    = dormitoryService;
     _departmentalService = departmentalService;
     _scientificService   = scientificService;
     _socialActivity      = socialActivity;
     _privilegesService   = privilegesService;
     _hobbyService        = hobbyService;
     _travelService       = travelService;
     _wellnessService     = wellnessService;
     _tourService         = tourService;
     _culturalService     = culturalService;
     _activitiesService   = activitiesService;
     _awardService        = awardService;
     _materialAidService  = materialAidService;
 }
Пример #3
0
 public TravelController(ITravelService services, IMapper mapper, ISystemAuditService systemAuditService, IHttpContextAccessor accessor)
 {
     _services           = services;
     _mapper             = mapper;
     _systemAuditService = systemAuditService;
     _accessor           = accessor;
 }
Пример #4
0
 public ColonizationService(ITravelService travelService, int travelTimeInMins, double colonizationRateKmPerSec, double pcToColonize)
 {
     this.travelService            = travelService;
     this.travelTimeInMins         = travelTimeInMins;
     this.colonizationRateKmPerSec = colonizationRateKmPerSec;
     this.pcToColonize             = pcToColonize;
 }
Пример #5
0
 public TravelController(ILogger <TravelController> logger, ITravelService service, IMapper mapper, IEmployeeService emplService)
 {
     _logger      = logger;
     _service     = service;
     _mapper      = mapper;
     _emplService = emplService;
 }
Пример #6
0
 public TravelsController(ITravelService travels, ICarService cars, IReviewService reviews,
                          UserManager <User> userManager)
 {
     this.travels     = travels;
     this.cars        = cars;
     this.reviews     = reviews;
     this.userManager = userManager;
 }
Пример #7
0
 public TravelController(INotificador notificador,
                         ITravelService travelService,
                         IMapper mapper,
                         ITravelRepository travelRepository) : base(notificador)
 {
     _travelService    = travelService;
     _mapper           = mapper;
     _travelRepository = travelRepository;
 }
Пример #8
0
 public CitizenController(ICitizenRepository citizenRepository, IEquipmentRepository equipmentRepository, IRegionRepository regionRepository
                          , IRegionService regionService, ITravelService travelService, IWarRepository warRepository, Entities.Repository.IWalletRepository walletRepository,
                          ICountryRepository countryRepository, ICitizenService citizenService, IPopupService popupService,
                          IFriendService friendService, IFriendRepository friendRepository) : base(popupService)
 {
     this.citizenRepository   = citizenRepository;
     this.equipmentRepository = equipmentRepository;
     this.regionRepository    = regionRepository;
     this.regionService       = regionService;
     this.travelService       = travelService;
     this.warRepository       = warRepository;
     this.walletRepository    = walletRepository;
     this.countryRepository   = countryRepository;
     this.citizenService      = citizenService;
     this.friendService       = friendService;
     this.friendRepository    = friendRepository;
 }
Пример #9
0
 public FotoController(ITravelService tService)
 {
     travelService = tService;
 }
Пример #10
0
 public AdminController(IUserService _userRepository, IAdminService _adminRepository, ITravelService _TravelRepository, ITravelStateService _TravelStateRepository, ITravelCityService _TravelCityRepository, INotificationService _NotificationRepository, IProjectManagerService _objProjectManagerRepository, IDbErrorHandlingService _dbErrorHandlingService) : base(_userRepository, _adminRepository, _TravelRepository, _TravelStateRepository, _TravelCityRepository, _NotificationRepository, _objProjectManagerRepository, _dbErrorHandlingService)
 {
 }
Пример #11
0
 public TravelController(IMapper mapper, ITravelService travelService)
 {
     Mapper        = mapper;
     TravelService = travelService;
 }
Пример #12
0
 public void Initialize()
 {
     TravelService = new TravelService();
     SessionService = new SessionService();
 }
Пример #13
0
 public ArrivalTimeService(ITourRepository tourRepository, IMappingService mappingService, ITravelService travelService)
 {
     _tourRepository = tourRepository;
     _mappingService = mappingService;
     _travelService  = travelService;
 }
 public void Setup()
 {
     _travelService = new TravelService(new TravelRepository());
 }
 public ManageTravelAPIController(ITravelService travelRepository)
 {
     _travelRepository = travelRepository;
 }
Пример #16
0
 public WorldTravelerController(ITravelService travelService)
 {
     _travelService = travelService ?? throw new ArgumentNullException(nameof(travelService));
 }
Пример #17
0
 public TravelController(ITravelService travelService,
                         UserManager <ApplicationUser> userManager)
 {
     _travelService = travelService;
     _userManager   = userManager;
 }
Пример #18
0
 public CommentController(ITravelService tService)
 {
     travelService = tService;
 }
Пример #19
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 /// <param name="travelService"></param>
 /// <param name="mapper"></param>
 /// <param name="travelFileAttachmentService"></param>
 public TravelController(ITravelService travelService, IMapper mapper, ITravelFileAttachmentService travelFileAttachmentService)
 {
     _travelService = travelService;
     _mapper        = mapper;
     _travelFileAttachmentService = travelFileAttachmentService;
 }
Пример #20
0
 public TravelController(ITravelService travelService, IConfigurationManagerHelper configurationManagerHelper)
 {
     _travelService = travelService;
     _configurationManagerHelper = configurationManagerHelper;
 }
Пример #21
0
 public WishController(ITravelService tService)
 {
     travelService = tService;
 }
Пример #22
0
 public TravelController(ITravelService services, IOops oops, IMapper mapper)
 {
     _services = services;
     _oops     = oops;
     _mapper   = mapper;
 }
Пример #23
0
 public TripController(ITravelService tService)
 {
     travelService = tService;
 }
Пример #24
0
 public TravelBaseController(IUserService _userRepository, IAdminService _adminRepository, ITravelService _TravelRepository, ITravelStateService _TravelStateRepository, ITravelCityService _TravelCityRepository, INotificationService _NotificationRepository, IProjectManagerService _ProjectManagerRepository, IDbErrorHandlingService dbErrorHandlingService)
 {
     objManageUser           = new ManageUserAPIController(_userRepository);
     objmanageAdmin          = new ManageAdminAPIController(_adminRepository);
     objmanageTravel         = new ManageTravelAPIController(_TravelRepository);
     objmanageCommon         = new CommonAPIController(_TravelStateRepository, _TravelCityRepository, _NotificationRepository);
     objProjectManager       = new ManageProjectManagerAPIController(_ProjectManagerRepository);
     _dbErrorHandlingService = dbErrorHandlingService;
 }
Пример #25
0
 public TravelController(ITravelService travelService,
                         UserManager <IdentityUser> userManager)
 {
     _travelService = travelService;
     _userManager   = userManager;
 }
Пример #26
0
 /// <summary>
 /// Vezérlő példányosítása.
 /// </summary>
 public AccountController(IAccountService accountService, ITravelService travelService)
 {
     _accountService = accountService;
     _travelService  = travelService;
 }
Пример #27
0
 public TravelController(ITravelService service)
 {
     _service = service;
 }
Пример #28
0
 public MemberController(ITravelService travelService, IATravelService aTravelService)
 {
     _travelService = travelService;
     _aTravelService = aTravelService;
 }
Пример #29
0
 public TravelController(ITravelService travelService)
 {
     this.TravelService = travelService;
 }
Пример #30
0
 public TravelController(ITravelService travelService, INotificador notificador) : base(notificador)
 {
     _travelService = travelService;
 }
Пример #31
0
 /// <summary>
 /// Vezérlő példányosítása.
 /// </summary>
 public HomeController(ITravelService travelService, IOptions <GoogleConfig> googleConfig)
 {
     _travelService = travelService;
     _googleConfig  = googleConfig;
 }
Пример #32
0
 public HomeController(ITravelService travelService, IConfigurationManagerHelper configurationManagerHelper, IEmailService emailService)
 {
     _travelService = travelService;
     _emailService  = emailService;
     _configurationManagerHelper = configurationManagerHelper;
 }