public HomeController(IHouseRepository HouseRepo,
                              IHouseService houseService)
        {
            _houseService = houseService;

            houseRepository = HouseRepo;
        }
        public HouseController(IHouseService houseService,
                               IActionService actionService)
        {
            _houseService = houseService;

            _actionService = actionService;
        }
Exemple #3
0
 public EstateService(IEstateDataService dataService, IUserService userService, IHouseDataService houseDataService, IHouseService houseService)
 {
     this._dataService      = dataService;
     this._userService      = userService;
     this._houseDataService = houseDataService;
     this._houseService     = houseService;
 }
 public RentController(IHouseService houseService, IGenericService <Province> provinceService, IGenericService <Feature> featureService, IMapper autoMapper)
 {
     this._houseService    = houseService;
     this._provinceService = provinceService;
     this._featureService  = featureService;
     _autoMapper           = autoMapper;
 }
Exemple #5
0
        public WorldService(ICompanyEmployeeRepository companyEmployeeRepository, IContractRepository contractRepository, IContractService contractService,
                            ICitizenRepository citizenRepository, IConfigurationRepository configurationRepository, IEquipmentRepository equipmentRepository,
                            IPartyService partyService, ICongressCandidateService congressCandidateService, ICongressVotingService congressVotingService,
                            ICountryService countryService, IBattleService battleService, IRegionService regionService, ICompanyService companyService,
                            IEmbargoService embargoService, IWarService warService, IEmployeeService employeeService, IMPPService mppService, IWalletService walletService,
                            INewDayRepository newDayRepository, IHotelService hotelService, IHouseService houseService)
        {
            this.citizenRepository         = citizenRepository;
            this.configurationRepository   = configurationRepository;
            this.equipmentRepository       = equipmentRepository;
            this.companyEmployeeRepository = companyEmployeeRepository;
            this.contractRepository        = contractRepository;
            this.contractService           = contractService;
            this.partyService             = partyService;
            this.congressCandidateService = congressCandidateService;
            this.congressVotingService    = congressVotingService;
            this.countryService           = countryService;
            this.battleService            = battleService;
            this.regionService            = regionService;
            this.companyService           = companyService;
            this.embargoService           = embargoService;
            this.warService       = warService;
            this.employeeService  = employeeService;
            this.mppService       = mppService;
            this.walletService    = Attach(walletService);
            this.newDayRepository = newDayRepository;
            this.hotelService     = hotelService;
            this.houseService     = houseService;

            citizenRepository.SetTimeout(300);
            equipmentRepository.SetTimeout(300);
        }
Exemple #6
0
 public PersonalAssistant(ILogger <PersonalAssistant> logger, HttpClient httpClient, WeatherApiConfig weatherApiConfig, IHouseService houseService)
 {
     this.logger           = logger;
     this.httpClient       = httpClient;
     this.weatherApiConfig = weatherApiConfig;
     this.houseService     = houseService;
 }
 public DebugController(IPopupService popupService, ICountryRepository countryRepository, ICongressVotingService congressVotingService,
                        ICongressVotingRepository congressVotingRepository, IBattleService battleService, IBattleRepository battleRepository,
                        ICompanyService companyService, IWalletService walletService, IMarketService marketService, IEquipmentService equipmentService,
                        ITransactionScopeProvider transactionScopeProvider, ICompanyRepository companyRepository, IEquipmentRepository equipmentRepository,
                        IHotelRepository hotelRepository, IMahService mahService, IHouseService houseService, IHouseRepository houseRepository,
                        HouseDayChangeProcessor houseDayChangeProcessor) : base(popupService)
 {
     this.countryRepository        = countryRepository;
     this.congressVotingService    = congressVotingService;
     this.congressVotingRepository = congressVotingRepository;
     this.battleService            = battleService;
     this.battleRepository         = battleRepository;
     this.companyService           = companyService;
     this.walletService            = walletService;
     this.marketService            = marketService;
     this.equipmentService         = equipmentService;
     this.transactionScopeProvider = transactionScopeProvider;
     this.companyRepository        = companyRepository;
     this.equipmentRepository      = equipmentRepository;
     this.hotelRepository          = hotelRepository;
     this.mahService              = mahService;
     this.houseService            = houseService;
     this.houseRepository         = houseRepository;
     this.houseDayChangeProcessor = houseDayChangeProcessor;
 }
 //  CustomService customservice;
 public HouseController(IHouseService service)
 {
     this.service  = service;
     loggerfactory = new LoggerFactory().AddFile(Path.Combine(Directory.GetCurrentDirectory(), "logs.txt"));
     logger        = loggerfactory.CreateLogger("FileLogger");
     logger.LogInformation("\n\n");
 }
Exemple #9
0
 public HouseController(
     ICityService cityService,
     IHouseService houseService)
 {
     this.cityService  = cityService;
     this.houseService = houseService;
 }
 public NotificationFacade(IPriceService priceService, IHouseService houseService, IUserService userService, IEmailService emailService)
 {
     _priceService = priceService;
     _houseService = houseService;
     _userService  = userService;
     _emailSerice  = emailSerice;
 }
Exemple #11
0
        public HouseApiController(UserManager <ApplicationUser> userManager, IHouseService houseDataAccess, IHouseMateService houseMateDataAccess)
        {
            _userManager      = userManager;
            _houseService     = houseDataAccess;
            _houseMateService = houseMateDataAccess;

            _houseService.Initialize();
        }
 public HouseController(IHouseService houseService, IGenericService <Province> provinceService, IGenericService <Feature> featureService, IMapper autoMapper, IGenericService <Service> servicexService)
 {
     this._houseService    = houseService;
     this._provinceService = provinceService;
     this._featureService  = featureService;
     this._autoMapper      = autoMapper;
     this._servicexService = servicexService;
 }
 public HouseListViewModel(IHouseService service, IMessageService messageService,
                           IDistrictService districtService, IRealtorService realtorService,
                           IOwnershipService ownershipService, IDealVariantService dealVariantService, IConditionService conditionService,
                           IExcelService excelService, IWordService wordService,
                           IServiceLocator serviceLocator)
     : base(service, messageService, districtService, realtorService, ownershipService, dealVariantService, conditionService, excelService,
            wordService, serviceLocator)
 {
 }
 public CharacterService(
     ICharacterRepository characterRepository,
     IPotterApiCharacterService potterApiCharacterService,
     IHouseService houseService)
 {
     _characterRepository       = characterRepository;
     _potterApiCharacterService = potterApiCharacterService;
     _houseService = houseService;
 }
Exemple #15
0
        public ActionController(IHouseService houseService,
                                IActionService actionService,
                                ISettingService settingService)
        {
            _houseService = houseService;

            _actionService = actionService;

            _settingService = settingService;
        }
 // GET: /<controller>/
 public HouseController(IHouseService houseService,
                        IOwnerService ownerService,
                        ICategoryService categoryService,
                        IMemoryCache memoryCache)
 {
     _memoryCache     = memoryCache;
     _categoryService = categoryService;
     _houseService    = houseService;
     _ownerService    = ownerService;
 }
Exemple #17
0
 public InvoiceController(IInvoiceService invoiceService,
                          IHouseService houseService,
                          ILogger <InvoiceController> logger,
                          IConfiguration config)
 {
     _invoiceService = invoiceService;
     _houseService   = houseService;
     _logger         = logger;
     _config         = config;
 }
 public HouseEditViewModel(IHouseService service, IMessageService messageService,
                           IDistrictService districtService, IViewsService viewsService,
                           IRealtorService realtorService, IOwnershipService ownershipService,
                           IDealVariantService dealVariantService, IWaterSupplyService waterSupplyService,
                           ISewageService sewageService, IMaterialService materialService, IConditionService conditionalService)
     : base(service, messageService, districtService, realtorService, ownershipService, dealVariantService, conditionalService)
 {
     _ViewsService       = viewsService;
     _WaterSupplyService = waterSupplyService;
     _SewageService      = sewageService;
     _MaterialService    = materialService;
 }
Exemple #19
0
 public AdminService(IUnitOfWork unitOfWork, IAllotFlowService allotFlowService, IProjectAllotFlowSurveyService projectAllotFlowSurveyService,
                     IHouseService houseService, ISysRoleMenuFunctionService functionService, IPhotoService photoService,
                     IProjectService projectService, IBuildingService buildingService, ICityService cityService)
 {
     this._allotFlowService = allotFlowService;
     this._unitOfWork       = unitOfWork;
     this._houseService     = houseService;
     this._functionService  = functionService;
     this._projectAllotFlowSurveyService = projectAllotFlowSurveyService;
     this._photoService    = photoService;
     this._projectService  = projectService;
     this._buildingService = buildingService;
     this._cityService     = cityService;
 }
 public HouseController(IPopupService popupService, IHouseRepository houseRepository,
                        IHouseService houseService, IEquipmentRepository equipmentRepository, IHouseFurnitureRepository houseFurnitureRepository,
                        IHouseChestService houseChestService, IHouseChestItemRepository houseChestItemRepository, IEquipmentItemRepository equipmentItemRepository,
                        IMarketOfferRepository marketOfferRepository, IMarketService marketService, ISellHouseService sellHouseService) : base(popupService)
 {
     this.houseRepository          = houseRepository;
     this.houseService             = houseService;
     this.equipmentRepository      = equipmentRepository;
     this.houseFurnitureRepository = houseFurnitureRepository;
     this.houseChestService        = houseChestService;
     this.houseChestItemRepository = houseChestItemRepository;
     this.equipmentItemRepository  = equipmentItemRepository;
     this.marketOfferRepository    = marketOfferRepository;
     this.marketService            = marketService;
     this.sellHouseService         = sellHouseService;
 }
 private void CreateServices()
 {
     dealVariantService = _serviceLocator.GetInstance <DealVariantService>();
     districtService    = _serviceLocator.GetInstance <IDistrictService>();
     floorLevelService  = _serviceLocator.GetInstance <IFloorLevelService>();
     layoutService      = _serviceLocator.GetInstance <ILayoutService>();
     materialService    = _serviceLocator.GetInstance <IMaterialService>();
     ownershipService   = _serviceLocator.GetInstance <IOwnershipService>();
     realtorService     = _serviceLocator.GetInstance <IRealtorService>();
     sewageService      = _serviceLocator.GetInstance <ISewageService>();
     streetService      = _serviceLocator.GetInstance <IStreetService>();
     terraceService     = _serviceLocator.GetInstance <ITerraceService>();
     toiletTypeService  = _serviceLocator.GetInstance <IToiletTypeService>();
     waterSupplyService = _serviceLocator.GetInstance <IWaterSupplyService>();
     flatService        = _serviceLocator.GetInstance <IFlatService>();
     houseService       = _serviceLocator.GetInstance <IHouseService>();
     plotService        = _serviceLocator.GetInstance <IPlotService>();
     residenceService   = _serviceLocator.GetInstance <IResidenceService>();
     roomService        = _serviceLocator.GetInstance <IRoomService>();
 }
 public HouseController(IHouseService houseService)
 {
     _houseService = houseService;
 }
 public DbInitializer(IHouseService _service)
 {
     service = _service;
 }
 public HousesController(IHouseService houseService, IMapper mapper, IWebHostEnvironment environment)
 {
     _houseService = houseService;
     _mapper       = mapper;
     _environment  = environment;
 }
Exemple #25
0
 public HousesController(IHouseService houseService, IMapper mapper)
 {
     _houseService = houseService;
     _mapper       = mapper;
 }
 public HousesController(IHouseService houseService, IRoomService roomService, IAccessoryService accessoryService)
 {
     _houseService = houseService;
     _roomService = roomService;
     _accessoryService = accessoryService;
 }
Exemple #27
0
 public HousesController(IHouseService service, IMapper mapper)
 {
     _service = service;
     _mapper  = mapper;
 }
Exemple #28
0
 public BuildingService(IUnitOfWork unitOfWork, IHouseService houseService)
 {
     this._unitOfWork   = unitOfWork;
     this._houseService = houseService;
 }
 public CharacterService(ICharacterRepository characterRepository, IUnitOfWork uow, IHouseService houseService, ICharacterFactory charactereFactory)
 {
     CharacterRepository = characterRepository ?? throw new ArgumentNullException(nameof(characterRepository));
     Uow              = uow ?? throw new ArgumentNullException(nameof(uow));
     HouseService     = houseService ?? throw new ArgumentNullException(nameof(houseService));
     CharacterFactory = charactereFactory ?? throw new ArgumentNullException(nameof(charactereFactory));
 }
Exemple #30
0
 public HousesController(IHouseService houseService, IRoomService roomService, IAccessoryService accessoryService)
 {
     _houseService     = houseService;
     _roomService      = roomService;
     _accessoryService = accessoryService;
 }
Exemple #31
0
 public ProjectService(IUnitOfWork unitOfWork, IHouseService houseService)
 {
     this._unitOfWork   = unitOfWork;
     this._houseService = houseService;
 }