public LocationController(ILocationService locationService, IProvinceService provinceService, IAreaService areaService, ICategoryService categoryService, ILocationImageService locationImageService)
 {
     this.locationService = locationService;
     this.provinceService = provinceService;
     this.areaService = areaService;
     this.categoryService = categoryService;
     this.locationImageService = locationImageService;
 }
Пример #2
0
        public EditRuleViewModel(IRuleStorage ruleStorage, IProvinceService provinceService, IMunicipalityService municipalityService)
        {
            _ruleStorage = ruleStorage;
            _provinceService = provinceService;
            _municipalityService = municipalityService;

            PropertyChanged += EditRuleViewModel_PropertyChanged;
        }
Пример #3
0
 public UserService(IGenericRepository <DataEntities.Model.User> userRepo, IUserFollowService userFollowService, IGenericRepository <DataEntities.Model.AspNetUser> aspNetUserRepo, ICategoryService categoryService,
                    IProvinceService provinceService, ICountryService countryService, IScheduledTaskService scheduledTaskService, IUserRolesService userRolesService, IGenericRepository <DataEntities.Model.UserFollow> userFollowRepo)
 {
     _userFollowService    = userFollowService;
     _userRepo             = userRepo;
     _aspNetUserRepo       = aspNetUserRepo;
     _categoryService      = categoryService;
     _provinceService      = provinceService;
     _countryService       = countryService;
     _scheduledTaskService = scheduledTaskService;
     _userRolesService     = userRolesService;
     _userFollowRepo       = userFollowRepo;
 }
Пример #4
0
 public SurvaySettingController(ISurvaySettingService survaySettingService, IMapper mapper 
     ,IDistricService districService , IProvinceService provinceService 
     , ISurvayService survayService, ISurvaySupervisorService survaySupervisorService)
 {
     _mapper = mapper;
     _provinceService = provinceService;
     _districService = districService;
     _survayService = survayService;
     _survaySupervisorService = survaySupervisorService;
     _survaySettingService = survaySettingService;
     _log = LogManager.GetLogger(typeof(SurvaySettingController));
     _roleManager = new RoleManager<IdentityRole>(new RoleStore<IdentityRole>());
 }
Пример #5
0
 public HomeController(IProductService productService,
                       IBlogService blogService, ICommonService commonService,
                       IProvinceService provinceService,
                       IDistrictService districtService,
                       IProductCategoryService productCategoryService)
 {
     _blogService            = blogService;
     _commonService          = commonService;
     _productService         = productService;
     _productCategoryService = productCategoryService;
     _provinceService        = provinceService;
     _districtService        = districtService;
 }
Пример #6
0
 public SummaryController(IMenuLinkService menuLinkService
                          , IProvinceService provinceService, IDistrictService districtService, ISystemSettingService systemSettingService
                          , IContactInfoService contactInfoService
                          , ISettingSeoGlobalService settingSeoGlobal
                          , IWorkContext workContext)
 {
     this._menuLinkService      = menuLinkService;
     this._provinceService      = provinceService;
     this._districtService      = districtService;
     this._systemSettingService = systemSettingService;
     this._contactInfoService   = contactInfoService;
     this._settingSeoGlobal     = settingSeoGlobal;
     this._workContext          = workContext;
 }
Пример #7
0
 public RealEstateController(IAuthService authService, IRealEstateService realEstateService, IDistrictService districtService, IPlaceService placeService, INeighborhoodService neighborhoodService, IAdvertTypeService advertTypeService, IHeatingService heatingService, IWebHostEnvironment hostEnvironment, IProvinceService provinceService, IAdvertService advertService, IPhotoService photoService)
 {
     _authService         = authService;
     _realEstateService   = realEstateService;
     _districtService     = districtService;
     _placeService        = placeService;
     _neighborhoodService = neighborhoodService;
     _advertTypeService   = advertTypeService;
     _heatingService      = heatingService;
     _hostEnvironment     = hostEnvironment;
     _provinceService     = provinceService;
     _advertService       = advertService;
     _photoService        = photoService;
 }
        public PoliticalAdministrativeDivisionMutation(
            IRegionService regions,
            IProvinceService provinces,
            ICommuneService communes
            )
        {
            Field <CommuneType>(
                "getCommune",
                arguments: new QueryArguments(
                    new QueryArgument <StringGraphType> {
                Name        = "code",
                Description = "Código de la comuna"
            }
                    ),
                resolve: context =>
            {
                return(communes.GetCommune(context.GetArgument <string>("code")));
            }
                );

            Field <ProvinceType>(
                "getProvince",
                arguments: new QueryArguments(
                    new QueryArgument <StringGraphType>
            {
                Name        = "code",
                Description = "Código de la provincia"
            }
                    ),
                resolve: context =>
            {
                return(provinces.GetProvince(context.GetArgument <string>("code")));
            }
                );

            Field <RegionType>(
                "getRegion",
                arguments: new QueryArguments(
                    new QueryArgument <StringGraphType>
            {
                Name        = "code",
                Description = "Código de la región"
            }
                    ),
                resolve: context =>
            {
                return(regions.GetRegion(context.GetArgument <string>("code")));
            }
                );
        }
        public void FindProvinceById_Service_Success()
        {
            // Arrange
            provinceService = new ProvinceService(mockRepository.Object, mockLogger.Object, mockCache.Object, mockTelemetry.Object);
            mockRepository.Setup(x => x.FindById <Province>(It.IsAny <int>())).Returns(new Province()).Verifiable();

            // Act
            var response = provinceService.FindProvinceById(It.IsAny <int>());

            // Assert
            Assert.IsNotNull(response);
            Assert.IsNotNull(response.Result);
            Assert.IsInstanceOfType(response, typeof(GenericServiceResponse <ProvinceDto>));
            mockRepository.Verify(x => x.FindById <Province>(It.IsAny <int>()), Times.Once);
        }
Пример #10
0
 protected override void Initialize(RequestContext requestContext)
 {
     base.Initialize(requestContext);
     customerServices        = new CustomerServices();
     carrierService          = new CarrierService();
     areaService             = new AreaService();
     agentService            = new AgentService();
     countryService          = new CountryService();
     unitService             = new UnitService();
     province                = new ProvinceService();
     shipmentServices        = new ShipmentServicesImpl();
     crmService              = new CRMService();
     ViewData["CountryList"] = new SelectList(Countries, "Id", "CountryName");
     sessageStaus            = string.Empty;
 }
Пример #11
0
 public ProvinceController(
     ApiSettings settings,
     ILogger <ProvinceController> logger,
     ITransactionCoordinator transactionCoordinator,
     IProvinceService provinceService,
     IApiProvinceServerModelMapper provinceModelMapper
     )
     : base(settings, logger, transactionCoordinator)
 {
     this.ProvinceService     = provinceService;
     this.ProvinceModelMapper = provinceModelMapper;
     this.BulkInsertLimit     = 250;
     this.MaxLimit            = 1000;
     this.DefaultLimit        = 250;
 }
Пример #12
0
 public HomeController(IMessengerService messengerService,
                       IKeypadService keypadService, IConfigService configService, IUserDataService userDataService,
                       IUserInfoService userInfoService, IButtonService buttonService, IUserInfoService categoryService,
                       IBankService bankService, IProvinceService provinceService)
 {
     _messengerService = messengerService;
     _keypadService    = keypadService;
     _configService    = configService;
     _userDataService  = userDataService;
     _userInfoService  = userInfoService;
     _buttonService    = buttonService;
     _categoryService  = categoryService;
     _bankService      = bankService;
     _provinceService  = provinceService;
 }
        public ShippingAddressDetailController(

            ICustomerService CustomerService,
            IDistrictService DistrictService,
            IProvinceService ProvinceService,
            IWardService WardService,
            IShippingAddressService ShippingAddressService
            )
        {
            this.CustomerService        = CustomerService;
            this.DistrictService        = DistrictService;
            this.ProvinceService        = ProvinceService;
            this.WardService            = WardService;
            this.ShippingAddressService = ShippingAddressService;
        }
        public ContactInformationController(
            IContactInfoService contactInfoService
            , IProvinceService provinceService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , ICacheManager cacheManager
            )
        {
            _contactInfoService       = contactInfoService;
            _provinceService          = provinceService;
            _languageService          = languageService;
            _localizedPropertyService = localizedPropertyService;

            //Clear cache
            cacheManager.RemoveByPattern(CacheContactinfoKey);
        }
Пример #15
0
 public SummaryController(IMenuLinkService menuLinkService
                          , IProvinceService provinceService, IDistrictService districtService, ISystemSettingService systemSettingService
                          , IContactInfoService contactInfoService
                          , ISettingSeoGlobalService settingSeoGlobal
                          , IWorkContext workContext
                          , ICacheManager cacheManager, IPostService postService, IStaticContentService staticContentService)
 {
     _menuLinkService      = menuLinkService;
     _provinceService      = provinceService;
     _districtService      = districtService;
     _systemSettingService = systemSettingService;
     _contactInfoService   = contactInfoService;
     _settingSeoGlobal     = settingSeoGlobal;
     _postService          = postService;
     _staticContentService = staticContentService;
 }
        public void DeleteProvinceById_Service_Fail()
        {
            // Arrange
            provinceService = new ProvinceService(mockRepository.Object, mockLogger.Object, mockCache.Object, mockTelemetry.Object);
            mockRepository.Setup(x => x.Delete <Province>(It.IsAny <int>())).Returns(false).Verifiable();

            // Act
            var response = provinceService.DeleteProvince(It.IsAny <int>());

            // Assert
            Assert.IsNotNull(response);
            Assert.IsFalse(response.Result);
            Assert.IsTrue(response.Notifications.HasErrors());
            Assert.IsInstanceOfType(response, typeof(GenericServiceResponse <bool>));
            mockRepository.Verify(x => x.Delete <Province>(It.IsAny <int>()), Times.Once);
        }
        public void GetAllProvinces_Service_Fail()
        {
            // Arrange
            provinceService = new ProvinceService(mockRepository.Object, mockLogger.Object, mockCache.Object, mockTelemetry.Object);
            mockRepository.Setup(x => x.All <Province>()).Throws(new Exception()).Verifiable();

            // Act
            var response = provinceService.GetAllProvinces();

            // Assert
            Assert.IsNotNull(response);
            Assert.IsNull(response.Result);
            Assert.IsTrue(response.Notifications.HasErrors());
            Assert.IsInstanceOfType(response, typeof(GenericServiceResponse <IEnumerable <ProvinceDto> >));
            mockRepository.Verify(x => x.All <Province>(), Times.Once);
        }
Пример #18
0
 public CommuneType(IProvinceService provinceService, ICommuneCsvRecordService communeCsvRecordService, IConfigurationService configurationService)
 {
     Field(o => o.Code);
     Field(o => o.Name);
     Field(o => o.Lat);
     Field(o => o.Lng);
     Field <ProvinceType>(
         "province",
         "Provincia a la que pertenece la comuna.",
         resolve: context => provinceService.GetProvince(context.Source.ParentCode)
         );
     Field <StringGraphType>(
         "imageUrl",
         "Url del escudo de la comuna o en su defecto el logo de la municipalidad.",
         resolve: context => configurationService.Configuration.FileStoreUri.AbsoluteUri + communeCsvRecordService.GetCommuneImagePath(context.Source.Code)
         );
 }
Пример #19
0
        public ContactInformationController(
            IContactInfoService contactInfoService
            , IProvinceService provinceService
            , ILanguageService languageService
            , ILocalizedPropertyService localizedPropertyService
            , ICacheManager cacheManager
            )
        {
            this._contactInfoService       = contactInfoService;
            this._provinceService          = provinceService;
            this._languageService          = languageService;
            this._localizedPropertyService = localizedPropertyService;
            _cacheManager = cacheManager;

            //Clear cache
            _cacheManager.RemoveByPattern(CACHE_CONTACTINFO_KEY);
        }
Пример #20
0
 public CheckOutController(UserManager <User> userManager, IHubContext <ChatHub> hubContext, IHostingEnvironment hostingEnvironment)
 {
     provinceService      = ServiceLocator.Current.GetInstance <IProvinceService>();
     districtService      = ServiceLocator.Current.GetInstance <IDistrictService>();
     wardService          = ServiceLocator.Current.GetInstance <IWardService>();
     orderService         = ServiceLocator.Current.GetInstance <IOrderService>();
     orderDetailService   = ServiceLocator.Current.GetInstance <IOrderDetailService>();
     productService       = ServiceLocator.Current.GetInstance <IProductService>();
     productDetailService = ServiceLocator.Current.GetInstance <IProductDetailService>();
     priceService         = ServiceLocator.Current.GetInstance <IProductPriceService>();
     productTypeService   = ServiceLocator.Current.GetInstance <IProductTypeService>();
     cartDetailService    = ServiceLocator.Current.GetInstance <ICartDetailService>();
     emailService         = ServiceLocator.Current.GetInstance <IEmailService>();
     this.userManager     = userManager;
     _hubContext          = hubContext;
     _hostingEnvironment  = hostingEnvironment;
 }
Пример #21
0
 public StoreController(
     IAppUserService AppUserService,
     IDistrictService DistrictService,
     IOrganizationService OrganizationService,
     IProvinceService ProvinceService,
     IStatusService StatusService,
     IStoreGroupingService StoreGroupingService,
     IStoreStatusService StoreStatusService,
     IStoreTypeService StoreTypeService,
     IWardService WardService,
     IStoreService StoreService,
     IBusinessTypeService BusinessTypeService,
     IPositionService PositionService,
     IStoreDeliveryTimeService StoreDeliveryTimeService,
     IRelationshipCustomerTypeService RelationshipCustomerTypeService,
     IInfulenceLevelMarketService InfulenceLevelMarketService,
     IMarketPriceService MarketPriceService,
     IConsultingServiceService ConsultingServiceService,
     ICooperativeAttitudeService CooperativeAttitudeService,
     ICurrencyService CurrencyService,
     ICurrentContext CurrentContext
     , IHttpContextAccessor httpContextAccessor, DataContext _DataContext
     ) : base(httpContextAccessor, _DataContext)
 {
     this.AppUserService                  = AppUserService;
     this.DistrictService                 = DistrictService;
     this.OrganizationService             = OrganizationService;
     this.ProvinceService                 = ProvinceService;
     this.StatusService                   = StatusService;
     this.StoreGroupingService            = StoreGroupingService;
     this.StoreStatusService              = StoreStatusService;
     this.StoreTypeService                = StoreTypeService;
     this.WardService                     = WardService;
     this.StoreService                    = StoreService;
     this.BusinessTypeService             = BusinessTypeService;
     this.PositionService                 = PositionService;
     this.StoreDeliveryTimeService        = StoreDeliveryTimeService;
     this.RelationshipCustomerTypeService = RelationshipCustomerTypeService;
     this.InfulenceLevelMarketService     = InfulenceLevelMarketService;
     this.MarketPriceService              = MarketPriceService;
     this.ConsultingServiceService        = ConsultingServiceService;
     this.CooperativeAttitudeService      = CooperativeAttitudeService;
     this.CurrencyService                 = CurrencyService;
     this.CurrentContext                  = CurrentContext;
 }
Пример #22
0
        public ActionResult Index()
        {
            SystemSetting systemSetting = this._systemSettingService.Get((SystemSetting x) => x.Status == 1, true);

            if (systemSetting != null)
            {
                ((dynamic)base.ViewBag).Title       = systemSetting.Title;
                ((dynamic)base.ViewBag).KeyWords    = systemSetting.MetaKeywords;
                ((dynamic)base.ViewBag).SiteUrl     = base.Url.Action("Index", "Home", new { area = "" });
                ((dynamic)base.ViewBag).Description = systemSetting.Description;
                ((dynamic)base.ViewBag).Image       = base.Url.Content(string.Concat("~/", systemSetting.LogoImage));
            }
            dynamic          viewBag         = base.ViewBag;
            IProvinceService provinceService = this._province;

            viewBag.Provinces = provinceService.FindBy((Province x) => x.Status == 1, false);
            return(base.View());
        }
Пример #23
0
 public ManageController(IApplicationUserManager userManager,
                         IApplicationRoleManager roleManager,
                         ICityService cityService,
                         IProvinceService provinceService,
                         IUnitOfWork unitOfWork,
                         ICommentService commentService,
                         ISaleService saleService,
                         IAuthenticationManager authenticationManager)
 {
     this._userManager           = userManager;
     this._roleManager           = roleManager;
     this._cityService           = cityService;
     this._provinceService       = provinceService;
     this._unitOfWork            = unitOfWork;
     this._commentService        = commentService;
     this._saleService           = saleService;
     this._authenticationManager = authenticationManager;
 }
Пример #24
0
 public JobAdvertController(ICompanyService companyService, IJobAdvertService jobAdvertService, IExperienceLevelService experienceLevelService,
                            IProvinceService provinceService, IRecruiterService recruiterService, IJobCategoryService jobCategoryService, IJobTypeService jobTypeService,
                            IStringManipulator stringManipulator, ICityService cityService, IJobSeekerService jobSeekerService, IWebHostEnvironment webHostEnvironment)
 {
     _companyService         = companyService;
     _jobSeekerService       = jobSeekerService;
     _provinceService        = provinceService;
     _recruiterService       = recruiterService;
     _cityService            = cityService;
     _experienceLevelService = experienceLevelService;
     _jobAdvertService       = jobAdvertService;
     _jobCategoryService     = jobCategoryService;
     _jobTypeService         = jobTypeService;
     _stringManipulator      = stringManipulator;
     this.webHostEnvironment = webHostEnvironment;
     CV          = "\\hustlersAttachments\\cv\\";
     Transcripts = "\\hustlersAttachments\\academicRecord\\";
     ID          = "\\hustlersAttachments\\id\\";
 }
 public IdentityController(IIdentityService ıdentityService, IWorkplaceService workplaceService,
                           IMaritalStatusService maritalStatusService, IGenderService genderService, IDisabilityStatusService disabilityStatusService,
                           IBloodGroupService bloodGroupService, IServiceInfoService serviceInfoService, ICurrentStatusService currentStatusService,
                           IWorkingStatusService workingStatusService, IShiftInfoService shiftInfoService, IAdminStatusService adminStatusService, IProvinceService provinceService, ITisJobCodeService tisJobCodeService, IPrivateStatusService privateStatusService)
 {
     _ıdentityService         = ıdentityService;
     _workplaceService        = workplaceService;
     _maritalStatusService    = maritalStatusService;
     _genderService           = genderService;
     _disabilityStatusService = disabilityStatusService;
     _bloodGroupService       = bloodGroupService;
     _serviceInfoService      = serviceInfoService;
     _currentStatusService    = currentStatusService;
     _workingStatusService    = workingStatusService;
     _shiftInfoService        = shiftInfoService;
     _adminStatusService      = adminStatusService;
     _provinceService         = provinceService;
     _tisJobCodeService       = tisJobCodeService;
     _privateStatusService    = privateStatusService;
 }
Пример #26
0
 public JobAdvertService(ILogger <JobAdvertService> logger, IRepository <User> userRepository, IRepository <Recruiter> recruiterRepository,
                         IRepository <JobSeeker> jobSeekerRepository, IRepository <JobAdvert> jobAdvertRepository, IStringManipulator stringManipulator,
                         ICompanyService companyService, IExperienceLevelService experienceLevelService, IProvinceService provinceService, IRecruiterService recruiterService,
                         IJobCategoryService jobCategoryService, IJobTypeService jobTypeService, ICityService cityService, IRepository <JobSeekerJobApplications> jobSeekerJobApplicationsRepository
                         )
 {
     this.recruiterRepository = recruiterRepository;
     this.jobAdvertRepository = jobAdvertRepository;
     this.userRepository      = userRepository;
     _companyService          = companyService;
     _provinceService         = provinceService;
     _recruiterService        = recruiterService;
     _cityService             = cityService;
     _experienceLevelService  = experienceLevelService;
     _jobCategoryService      = jobCategoryService;
     _jobTypeService          = jobTypeService;
     _stringManipulator       = stringManipulator;
     this.logger = logger;
     this.jobSeekerJobApplicationsRepository = jobSeekerJobApplicationsRepository;
 }
Пример #27
0
 public HomeController(ApplicationDbContext context,
                       IMessengerService messengerService,
                       IKeypadService keypadService, IConfigService configService,
                       IUserDataService userDataService, IOrderService orderService,
                       IButtonService buttonService, IProvinceService provinceService,
                       IFestivalService festivalService, IGroupService groupService,
                       IApiService apiService)
 {
     _context          = context;
     _messengerService = messengerService;
     _keypadService    = keypadService;
     _configService    = configService;
     _userDataService  = userDataService;
     _buttonService    = buttonService;
     _provinceService  = provinceService;
     _festivalService  = festivalService;
     _groupService     = groupService;
     _orderService     = orderService;
     _apiService       = apiService;
 }
Пример #28
0
 public BaseAdminModelFactory(IFacultyService facultyService,
                              ICountryService countryService,
                              IUserActivityService userActivityService,
                              IUserService userService,
                              IDateTimeHelper dateTimeHelper,
                              IEmailAccountService emailAccountService,
                              IProfessorService professorService,
                              IProvinceService provinceService,
                              IStaticCacheManager cacheManager,
                              IAcademicRankService academicRankService,
                              IResearchIssueService researchIssueService,
                              IAgencyService agencyService,
                              IResearcherService researcherService,
                              IEducationLevelService educationLevelService,
                              IStrategyGroupService strategyGroupService,
                              IFiscalScheduleService fiscalScheduleService,
                              ITitleService titleService,
                              IInstituteService instituteService)
 {
     this._facultyService        = facultyService;
     this._countryService        = countryService;
     this._userActivityService   = userActivityService;
     this._userService           = userService;
     this._dateTimeHelper        = dateTimeHelper;
     this._emailAccountService   = emailAccountService;
     this._professorService      = professorService;
     this._provinceService       = provinceService;
     this._cacheManager          = cacheManager;
     this._academicRankService   = academicRankService;
     this._researchIssueService  = researchIssueService;
     this._agencyService         = agencyService;
     this._researcherService     = researcherService;
     this._educationLevelService = educationLevelService;
     this._strategyGroupService  = strategyGroupService;
     this._fiscalScheduleService = fiscalScheduleService;
     this._titleService          = titleService;
     this._instituteService      = instituteService;
 }
Пример #29
0
 public JobSeekerController(IUserService userService, IJobSeekerService jobSeekerService, IJobAdvertService jobAdvertService,
                            IProvinceService provinceService, ICityService cityService, IJobCategoryService jobCategoryService, IWorkExperienceService workExperienceService,
                            IEducationService educationService, ISkillsService skillService, ILanguageService languageService, IWebHostEnvironment webHostEnvironment,
                            ICompanyService companyService, IJobTypeService jobTypeService, IAttachmentService attachmentService, IPDFGenerator pdfGenerator)
 {
     _jobSeekerService       = jobSeekerService;
     _jobAdvertService       = jobAdvertService;
     _provinceService        = provinceService;
     _cityService            = cityService;
     this.attachmentService  = attachmentService;
     _jobAdvertService       = jobAdvertService;
     _workExperienceService  = workExperienceService;
     _jobCategoryService     = jobCategoryService;
     this.educationService   = educationService;
     this.languageService    = languageService;
     this.skillService       = skillService;
     this.webHostEnvironment = webHostEnvironment;
     _companyService         = companyService;
     _jobTypeService         = jobTypeService;
     CV          = "/hustlersAttachments/cv/";
     Transcripts = "/hustlersAttachments/academicRecord/";
     ID          = "/hustlersAttachments/id/";
 }
Пример #30
0
        public ProvinceType(
            IRegionService regions,
            IProvinceService provinces,
            ICommuneService communes
            )
        {
            Field(o => o.Code);
            Field(o => o.Name);
            Field(o => o.Lat);
            Field(o => o.Lng);

            Field <RegionType>(
                "region",
                "Región a la que pertenece la provincia.",
                resolve: context => regions.GetRegion(context.Source.ParentCode)
                );

            Field <ListGraphType <CommuneType> >(
                "communes",
                "Comunas pertenecientes a la provincia.",
                resolve: context => communes.GetCommunesByProvince(context.Source.Code)
                );
        }
Пример #31
0
 public AccountController(IApplicationUserManager userManager,
                          IApplicationRoleManager roleManager,
                          IApplicationSignInManager signInManager,
                          IAuthenticationManager authenticationManager,
                          IFavoriteUserService favoriteUserService,
                          IUnitOfWork unitOfWork,
                          IProvinceService provinceService,
                          ICityService cityService,
                          ISaleService saleService,
                          ICommentService commentService,
                          IContactService contactService)
 {
     this._userManager           = userManager;
     this._roleManager           = roleManager;
     this._signInManager         = signInManager;
     this._authenticationManager = authenticationManager;
     this._favoriteUserService   = favoriteUserService;
     this._unitOfWork            = unitOfWork;
     this._provinceService       = provinceService;
     this._cityService           = cityService;
     this._commentService        = commentService;
     this._contactService        = contactService;
     this._saleService           = saleService;
 }
Пример #32
0
 public InitializeController(IProvinceService provinceService)
 {
     _provinceService = provinceService;
 }
Пример #33
0
 public AccountController(UserManager <IdentityUser, Guid> userManager, IPostService postService, IGalleryService galleryService, IProvinceService provinceService, IMenuLinkService menuLinkService, IDistrictService districtService, IImagePlugin imagePlugin) : base(userManager)
 {
     this._postService     = postService;
     this._galleryService  = galleryService;
     this._provinceService = provinceService;
     this._menuLinkService = menuLinkService;
     this._districtService = districtService;
     this._imagePlugin     = imagePlugin;
 }
Пример #34
0
 public CityController(ICityService cityService, IProvinceService provinceService)
 {
     _cityService = cityService;
     _provinceService = provinceService;
 }
Пример #35
0
 public AreaController(IAreaService areaService, IProvinceService provinceService)
 {
     this.areaService = areaService;
     this.provinceService = provinceService;
 }
Пример #36
0
 public ProvinceController(IProvinceService provinceService)
 {
     _provinceService = provinceService;
 }
 public ProvinceAppService(IProvinceService provinceService)
 {
     _service = provinceService;
 }