Пример #1
0
 public CostUserService(EFContext efContext, IRegionsService regionsService,
                        ICustomObjectDataService customObjectDataService)
 {
     _efContext               = efContext;
     _regionsService          = regionsService;
     _customObjectDataService = customObjectDataService;
 }
 public CountriesController(
     ICountriesService countriesService,
     IRegionsService regionsService)
 {
     _countriesService = countriesService;
     _regionsService = regionsService;
 }
Пример #3
0
        public RegionController(
            IWebHostEnvironment hostEnvironment,
            IRegionsService regionService)

        {
            this.hostEnvironment = hostEnvironment;
            this.regionService   = regionService;
        }
Пример #4
0
 public LOLController(
     IGamesService gamesService,
     INewsService newsService,
     IRegionsService regionsService)
 {
     this.gamesService   = gamesService;
     this.newsService    = newsService;
     this.regionsService = regionsService;
 }
Пример #5
0
 internal ReopenRequestedNotificationBuilder(IMapper mapper,
                                             IApplicationUriHelper uriHelper, ICostStageRevisionService costStageRevisionService,
                                             IMetadataProviderService metadataProviderService,
                                             AppSettings appSettings,
                                             EFContext efContext,
                                             IRegionsService regionsService) :
     base(mapper, uriHelper, costStageRevisionService, metadataProviderService, appSettings, efContext, regionsService)
 {
 }
Пример #6
0
 public RegionsCacheService(
     IMemoryCache memoryCache,
     ILogger <RegionsCacheService> logger,
     IRegionsService regionsService)
 {
     _memoryCache    = memoryCache;
     _logger         = logger;
     _regionsService = regionsService;
     _typeName       = GetType().Name;
 }
 public SolarSystemsController(
     ISolarSystemsService solarSystemService,
     IConstellationService constellationService,
     IRegionsService regionsService,
     IOptions <ApiBehaviorOptions> apiBehaviorOptions)
 {
     this.solarSystemService   = solarSystemService;
     this.constellationService = constellationService;
     this.regionsService       = regionsService;
     this.apiBehaviorOptions   = apiBehaviorOptions;
 }
Пример #8
0
 internal ReminderPendingTechnicalNotificationBuilder(IMapper mapper,
                                                      IApplicationUriHelper uriHelper, ICostStageRevisionService costStageRevisionService,
                                                      IMetadataProviderService metadataProviderService,
                                                      IApprovalService approvalService,
                                                      AppSettings appSettings,
                                                      EFContext efContext,
                                                      IRegionsService regionsService) :
     base(mapper, uriHelper, costStageRevisionService, metadataProviderService, appSettings, efContext, regionsService)
 {
     _approvalService = approvalService;
 }
Пример #9
0
 public PgVendorRuleBuilder(IAbstractTypesService abstractTypesService,
                            IDictionaryService dictionaryService,
                            IRegionsService regionsService,
                            EFContext efContext, IMapper mapper,
                            IFeatureService featureService)
 {
     _abstractTypesService = abstractTypesService;
     _dictionaryService    = dictionaryService;
     _regionsService       = regionsService;
     _efContext            = efContext;
     _mapper         = mapper;
     _featureService = featureService;
 }
 public InitializeWithPrimaryDataController(IRegionsService regionsService,
                                            ISchoolsService schoolsService, IClassesService classesService,
                                            ISubjectsService subjectsService, IStudentsService studentsService,
                                            IStudentsSubjectsService studentsSubjectsService, IGradesService gradesService)
 {
     this.regionsService          = regionsService;
     this.schoolsService          = schoolsService;
     this.classesService          = classesService;
     this.subjectsService         = subjectsService;
     this.studentsService         = studentsService;
     this.studentsSubjectsService = studentsSubjectsService;
     this.gradesService           = gradesService;
 }
Пример #11
0
 internal RecalledNotificationBuilder(IMapper mapper,
                                      IApplicationUriHelper uriHelper, ICostStageRevisionService costStageRevisionService, IApprovalService approvalService,
                                      ICostFormService costFormService, ICustomObjectDataService customObjectDataService,
                                      IMetadataProviderService metadataProviderService,
                                      AppSettings appSettings,
                                      EFContext efContext,
                                      IRegionsService regionsService) :
     base(mapper, uriHelper, costStageRevisionService, metadataProviderService, appSettings, efContext, regionsService)
 {
     _costStageRevisionService = costStageRevisionService;
     _approvalService          = approvalService;
     _costFormService          = costFormService;
     _customObjectDataService  = customObjectDataService;
 }
        public HomeController(
            IWebHostEnvironment hostEnvironment,
            IProductsService productsService,
            ISalesService salesService,
            IPharmaciesService pharmaciesService,
            IRegionsService regionsService)

        {
            this.hostEnvironment   = hostEnvironment;
            this.productsService   = productsService;
            this.salesService      = salesService;
            this.pharmaciesService = pharmaciesService;
            this.regionsService    = regionsService;
        }
Пример #13
0
 public PostsController(
     IPostsService postsService, 
     ICommentsService commentsService, 
     IRegionsService regionsService, 
     IPostCategoriesService postCategoriesService, 
     IPetsService petsService)
     : base()
 {
     this.postsService = postsService;
     this.commentsService = commentsService;
     this.regionsService = regionsService;
     this.postCategoriesService = postCategoriesService;
     this.petsService = petsService;
 }
Пример #14
0
        public static bool IsEuropeanAgency(this Agency agency, IRegionsService regionsService)
        {
            Country country = agency.Country;

            if (country.GeoRegionId == null)
            {
                Logger.Warning($"Country {country.Iso} does not have region. This is required to check for European agencies.");
                return(false);
            }

            var region = regionsService.GetGeoRegion(country.GeoRegionId.Value).Result;

            return(region.Name == Constants.AgencyRegion.Europe);
        }
 protected NotificationBuilderBase(IMapper mapper,
                                   IApplicationUriHelper uriHelper, ICostStageRevisionService costStageRevisionService,
                                   IMetadataProviderService metadataProviderService,
                                   AppSettings appSettings,
                                   EFContext efContext,
                                   IRegionsService regionsService)
 {
     Mapper     = mapper;
     _uriHelper = uriHelper;
     CostStageRevisionService = costStageRevisionService;
     MetadataProviderService  = metadataProviderService;
     AppSettings    = appSettings;
     EFContext      = efContext;
     RegionsService = regionsService;
 }
Пример #16
0
 public PostsService(
     IDbRepository<Post> postsRepo,
     IDbRepository<Image> imagesRepo,
     IDbRepository<Comment> commentsRepo,
     IRegionsService regionsService, 
     IPostCategoriesService postCategoriesService, 
     IPetsService petsService, 
     IUsersService usersService)
 {
     this.postsRepo = postsRepo;
     this.imagesRepo = imagesRepo;
     this.commentsRepo = commentsRepo;
     this.regionsService = regionsService;
     this.postCategoriesService = postCategoriesService;
     this.petsService = petsService;
     this.usersService = usersService;
 }
Пример #17
0
 public LandmarksController(
     ICategoriesService categoriesService,
     IRegionsService regionsService,
     ITownsService townsService,
     IMountainsService mountainsService,
     ILandmarksService landmarksService,
     UserManager <ApplicationUser> userManager,
     IWebHostEnvironment hostEnvironment)
 {
     this.categoriesService = categoriesService;
     this.regionsService    = regionsService;
     this.townsService      = townsService;
     this.mountainsService  = mountainsService;
     this.landmarksService  = landmarksService;
     this.userManager       = userManager;
     this.hostEnvironment   = hostEnvironment;
 }
        public PharmacyDetailsController(
            IWebHostEnvironment hostEnvironment,
            INumbersChecker numbersChecker,
            IPharmaciesService pharmaciesService,
            ICompaniesService companiesService,
            IPharmacyChainsService pharmacyChainsService,
            IRegionsService regionsService,
            ICitiesService citiesService)

        {
            this.hostEnvironment       = hostEnvironment;
            this.numbersChecker        = numbersChecker;
            this.pharmaciesService     = pharmaciesService;
            this.companiesService      = companiesService;
            this.pharmacyChainsService = pharmacyChainsService;
            this.regionsService        = regionsService;
            this.citiesService         = citiesService;
        }
Пример #19
0
        public AddBarController(IMappingService mappingService,
                                IRegionsService regionsService,
                                IBarsService barsService,
                                ICacheProvider cacheProvider,
                                IServerProvider serverProvider,
                                IPathProvider pathProvider)
        {
            if (mappingService == null)
            {
                throw new ArgumentNullException("Mapping service cannot be null.");
            }

            if (regionsService == null)
            {
                throw new ArgumentNullException("Regions service cannot be null.");
            }

            if (barsService == null)
            {
                throw new ArgumentNullException("Bars service cannot be null.");
            }

            if (cacheProvider == null)
            {
                throw new ArgumentNullException("Cache provider cannot be null.");
            }

            if (serverProvider == null)
            {
                throw new ArgumentNullException("Server provider cannot be null.");
            }

            if (pathProvider == null)
            {
                throw new ArgumentNullException("Path provider cannot be null.");
            }

            this.mappingService = mappingService;
            this.regionsService = regionsService;
            this.barsService    = barsService;
            this.cacheProvider  = cacheProvider;
            this.serverProvider = serverProvider;
            this.pathProvider   = pathProvider;
        }
Пример #20
0
 public HikesController(
     ICategoriesService categoriesService,
     IRegionsService regionsService,
     IMountainsService mountainsService,
     IHikesService hikesService,
     IHikeStartPointsService hikeStartPointsService,
     IHikeEndPointsService hikeEndPointsService,
     UserManager <ApplicationUser> userManager,
     IWebHostEnvironment hostEnvironment)
 {
     this.categoriesService      = categoriesService;
     this.regionsService         = regionsService;
     this.mountainsService       = mountainsService;
     this.hikesService           = hikesService;
     this.hikeStartPointsService = hikeStartPointsService;
     this.hikeEndPointsService   = hikeEndPointsService;
     this.userManager            = userManager;
     this.hostEnvironment        = hostEnvironment;
 }
Пример #21
0
 public EmailNotificationBuilder(IMapper mapper,
                                 IApplicationUriHelper uriHelper, ICostStageRevisionService costStageRevisionService,
                                 IApprovalService approvalService, IRegionsService regionsService,
                                 IOptions <AppSettings> appSettings, ICostFormService costFormService,
                                 ICustomObjectDataService customObjectDataService,
                                 IPgPaymentService pgPaymentService,
                                 ICostStageService costStageService,
                                 IMetadataProviderService metadataProviderService,
                                 EFContext efContext)
 {
     _mapper    = mapper;
     _uriHelper = uriHelper;
     _costStageRevisionService = costStageRevisionService;
     _approvalService          = approvalService;
     _regionsService           = regionsService;
     _costFormService          = costFormService;
     _customObjectDataService  = customObjectDataService;
     _pgPaymentService         = pgPaymentService;
     _costStageService         = costStageService;
     _metadataProviderService  = metadataProviderService;
     _efContext   = efContext;
     _appSettings = appSettings.Value;
 }
Пример #22
0
 public RegionsController(IRegionsService service)
 {
     _service = service;
 }
Пример #23
0
 public StationsViewModel(IRegionsService regionsService, IStationsService stationsService)
 {
     _RegionService = regionsService;
     _Service       = stationsService;
 }
Пример #24
0
 public RegionsController(IRegionsService regionsService, IMapper mapper)
 {
     _regionsService = regionsService;
     _mapper         = mapper;
 }
Пример #25
0
 public RegionsController(IRegionsService regionsService)
 {
     _regionsService = regionsService;
 }
Пример #26
0
 public RegionsController(IRegionsService regionService)
 {
     services = regionService;
 }
Пример #27
0
 public RegionsController(IRegionsService regionService)
 {
     this._regionService = regionService;
 }