Example #1
0
 public PartyService(IPartyRepository partyRepository, IEntityService entityService, ICitizenRepository citizenRepository,
                     ICongressCandidateVotingRepository congressCandidateVotingRepository, IPartyInviteRepository partyInviteRepository,
                     IPartyJoinRequestRepository partyJoinRequestRepository, IWarningService warningService, IPopupService popupService)
 {
     this.partyRepository   = partyRepository;
     this.entityService     = entityService;
     this.citizenRepository = citizenRepository;
     this.congressCandidateVotingRepository = congressCandidateVotingRepository;
     this.partyInviteRepository             = partyInviteRepository;
     this.partyJoinRequestRepository        = partyJoinRequestRepository;
     this.warningService = Attach(warningService);
     this.popupService   = popupService;
 }
 public CongressController(ICongressVotingRepository congressVotingRepository, ICongressVotingService congressVotingService, ICountryRepository countryRepository
                           , IRegionRepository regionRepository, ICongressCandidateVotingRepository congressCandidateVotingRepository,
                           ICongressCandidateService congressCandidateService, IPartyRepository partyRepository, IEntityRepository entityRepository
                           , IPopupService popupService, ICompanyRepository companyRepository) : base(popupService)
 {
     this.congressVotingRepository          = congressVotingRepository;
     this.congressVotingService             = congressVotingService;
     this.countryRepository                 = countryRepository;
     this.regionRepository                  = regionRepository;
     this.congressCandidateVotingRepository = congressCandidateVotingRepository;
     this.congressCandidateService          = congressCandidateService;
     this.partyRepository   = partyRepository;
     this.entityRepository  = entityRepository;
     this.companyRepository = companyRepository;
 }
Example #3
0
 public CountryService(ICountryRepository countriesRepository, IEntityRepository entititesRepository, IEntityService entityService,
                       IPresidentVotingRepository presidentVotingRepository, ICongressCandidateVotingRepository congressCandidateVotingRepository,
                       ICitizenRepository citizenRepository, ICitizenService citizenService, ICountryPresidentService countryPresidentService,
                       ICongressVotingService congressVotingService, IWalletService walletService, IWarningService warningService)
 {
     this.countryRepository                 = countriesRepository;
     this.entityRepository                  = entititesRepository;
     this.entityService                     = entityService;
     this.presidentVotingRepository         = presidentVotingRepository;
     this.congressCandidateVotingRepository = congressCandidateVotingRepository;
     this.citizenRepository                 = citizenRepository;
     this.citizenService                    = citizenService;
     this.countryPresidentService           = countryPresidentService;
     this.congressVotingService             = congressVotingService;
     this.walletService                     = walletService;
     this.warningService                    = warningService;
 }
Example #4
0
 public PartyController(IPartyRepository partyRepository, IPartyService partyService, ITransactionsService transactionService,
                        IUploadService uploadService, ICongressCandidateVotingRepository congressCandidateVotingRepository, IWarningService warningService,
                        ICountryRepository countryRepository, IEntityService entityService, ICongressCandidateService congressCandidateService
                        , IPopupService popupService, ICitizenRepository citizenRepository, IPartyInviteRepository partyInviteRepository,
                        IPartyJoinRequestRepository partyJoinRequestRepository) : base(popupService)
 {
     this.partyRepository    = partyRepository;
     this.partyService       = partyService;
     this.transactionService = transactionService;
     this.uploadService      = uploadService;
     this.congressCandidateVotingRepository = congressCandidateVotingRepository;
     this.warningService             = warningService;
     this.countryRepository          = countryRepository;
     this.entityService              = entityService;
     this.congressCandidateService   = congressCandidateService;
     this.citizenRepository          = citizenRepository;
     this.partyInviteRepository      = partyInviteRepository;
     this.partyJoinRequestRepository = partyJoinRequestRepository;
 }