Пример #1
0
 public FactualService()
 {
     this.category_ZipCodeService = new Category_ZipCodeService();
     this.businessService = new BusinessService();
     this.zipcodeService = new ZipCodeService();
     this.businessCategoryService = new BusinessCategoryService();
 }
 public BusinessCategoryController(IBusinessCategoryService repo, IIdentityService identityService, IMapper mapper, IHttpContextAccessor httpContextAccessor, ILoggerService logger, IIdentityServerRequest identityServer)
 {
     _repo                = repo;
     _identityService     = identityService;
     _mapper              = mapper;
     _httpContextAccessor = httpContextAccessor;
     _identityServer      = identityServer;
     _logger              = logger;
 }
Пример #3
0
 public AdminController(IMembershipPackageService membershipPackageService, IPackageItemService packageItemService, IBusinessCategoryService businessCategoryService, IZipCodeService zipcodeService,
     ICategory_ZipCodeService category_ZipCodeService, IUserService userService, IBusinessService businessService)
 {
     this.membershipPackageService = membershipPackageService;
     this.packageItemService = packageItemService;
     this.businessCategoryService = businessCategoryService;
     this.zipcodeService = zipcodeService;
     this.category_ZipCodeService = category_ZipCodeService;
     this.userService = userService;
     this.businessService = businessService;
 }
Пример #4
0
 public FactualDownload()
 {
     InitializeComponent();
     this.businessCategoryService = new BusinessCategoryService();
     this.zipcodeService = new ZipCodeService();
     this.factualService = new FactualService();
     InitData();
     factualWorker = new BackgroundWorker();
     tbarDownload.Minimum = 0;
     tbarDownload.Maximum = 0;
     threadSearch = new Thread(new ThreadStart(OnCitySearch));
     System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false;
 }
Пример #5
0
 public BusinessCategoryController(IBusinessCategoryService businessCategoryService)
 {
     this.businessCategoryService = businessCategoryService;
     this.menus = new List<TreeData>();
 }