예제 #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;
 }