コード例 #1
0
 public NationalitiesController(NajmetAlraqeeContext context, INationalityRepository nationality, IMapper mapper, IToastNotification toastNotification)
 {
     _context           = context;
     _nationality       = nationality;
     _mapper            = mapper;
     _toastNotification = toastNotification;
 }
コード例 #2
0
 public SpecialEmployeeController(INationalityRepository nationality, ISpecialEmployeeRepository emp_spec, IMapper mapper, IToastNotification toastNotification)
 {
     _emp_spec          = emp_spec;
     _mapper            = mapper;
     _toastNotification = toastNotification;
     _nationality       = nationality;
 }
コード例 #3
0
 public NationalityController(
     INationalityRepository nationalityRepository,
     ICommonService commonService,
     IUnitOfWork unitOfWork) : base(commonService, unitOfWork)
 {
     _nationalityRepository = nationalityRepository;
 }
コード例 #4
0
        public NationalityController(INationalityRepository repository, string catalog, LoginView view)
        {
            this._LoginId  = view.LoginId.ToLong();
            this._UserId   = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog  = catalog;

            this.NationalityRepository = repository;
        }
コード例 #5
0
        public NationalityController(INationalityRepository repository, string catalog, LoginView view)
        {
            this._LoginId = view.LoginId.ToLong();
            this._UserId = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog = catalog;

            this.NationalityRepository = repository;
        }
コード例 #6
0
 public EmployeeParametersMapper(INationalityRepository nationalityRepository,
                                 ICompanyVehicleTypeRepository companyVehicleTypeRepository,
                                 IEmploymentStatusRepository employmentStatusRepository, 
                                 ISiteRepository siteRepository)
 {
     _nationalityRepository = nationalityRepository;
     _companyVehicleTypeRepository = companyVehicleTypeRepository;
     _employmentStatusRepository = employmentStatusRepository;
     _siteRepository = siteRepository;
 }
コード例 #7
0
ファイル: DelegatesController.cs プロジェクト: rec2020/REC
 public DelegatesController(NajmetAlraqeeContext context,
                            INationalityRepository nationality, IAccountTreeRepository Acctree,
                            IDelegateReository Delegate, IDelegateTypeRepository delegatetype, IMapper mapper, IToastNotification toastNotification)
 {
     _context           = context;
     _Delegate          = Delegate;
     _mapper            = mapper;
     _toastNotification = toastNotification;
     _nationality       = nationality;
     _delegatetype      = delegatetype;
     _Acctree           = Acctree;
 }
コード例 #8
0
 public ForeignAgencyJobController(IForeignAgencyRepository agency,
                                   IMapper mapper, IForeignAgencyJobRepository agency_job,
                                   IToastNotification toastNotification
                                   , INationalityRepository nationality, IBankDetailRepository bank, ICurrencyRepository currency, IJobTypeReository jobtype)
 {
     _agency            = agency;
     _mapper            = mapper;
     _toastNotification = toastNotification;
     _nationality       = nationality;
     _jobtype           = jobtype;
     _currency          = currency;
     _agency_job        = agency_job;
 }
コード例 #9
0
        public NationalityController()
        {
            this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog = AppUsers.GetCurrentUserDB();

            this.NationalityRepository = new MixERP.Net.Schemas.Core.Data.Nationality
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId = this._UserId
            };
        }
コード例 #10
0
        public EmployeeController(NajmetAlraqeeContext context, IForeignAgencyRepository foreignagency, IJobTypeReository jobtype, IReligionRepository religion, ISocialStatusRepository socialstatus, IGenderRepository gender, INationalityRepository nationality, IEmployeeRepository emp, IMapper mapper, IToastNotification toastNotification)
        {
            _context           = context;
            _mapper            = mapper;
            _toastNotification = toastNotification;
            _emp          = emp;
            _nationality  = nationality;
            _gender       = gender;
            _socialstatus = socialstatus;
            _religion     = religion;

            _foreignagency = foreignagency;
            _jobtype       = jobtype;
        }
コード例 #11
0
        public NationalityController()
        {
            this._LoginId  = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId   = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog  = AppUsers.GetCurrentUserDB();

            this.NationalityRepository = new MixERP.Net.Schemas.Core.Data.Nationality
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId  = this._UserId
            };
        }
コード例 #12
0
 public LookupService(
     IEmploymentStatusRepository employmentStatusRepository,
     INationalityRepository nationalityRepository,
     ICountriesRepository countriesRepository,
     IDocumentTypeRepository documentTypeRepository,
     IOthersInvolvedAccidentDetailsRepository othersInvolvedAccidentDetailsRepository,
     IPeninsulaLog log)
 {
     _employmentStatusRepository = employmentStatusRepository;
     _nationalityRepository = nationalityRepository;
     _countriesRepository = countriesRepository;
     _documentTypeRepository = documentTypeRepository;
     _involvedAccidentDetailsRepository = othersInvolvedAccidentDetailsRepository;
     _log = log;
 }
コード例 #13
0
 public ForeignAgencyTransferController(IForeignAgencyTransferRepository agencyTransfer,
                                        IMapper mapper, ITransferPurposeRepository purpose, ICurrencyRepository currency,
                                        IToastNotification toastNotification
                                        , INationalityRepository nationality,
                                        IBankDetailRepository bank,
                                        IForeignAgencyRepository agency,
                                        IPaymentMethodRepository payment
                                        )
 {
     _agencyTransfer    = agencyTransfer;
     _purpose           = purpose;
     _mapper            = mapper;
     _toastNotification = toastNotification;
     _bank     = bank;
     _payment  = payment;
     _agency   = agency;
     _currency = currency;
 }
コード例 #14
0
 public UserDelegateTransfersController(
     IDelegateTransferRepository delegateTransfer,
     IMapper mapper,
     ITransferPurposeRepository purpose,
     IToastNotification toastNotification,
     INationalityRepository nationality,
     IBankDetailRepository bank,
     IDelegateReository userdelegatre,
     IPaymentMethodRepository payment, ICurrencyRepository currency
     )
 {
     _delegateTransfer  = delegateTransfer;
     _purpose           = purpose;
     _mapper            = mapper;
     _toastNotification = toastNotification;
     _bank         = bank;
     _payment      = payment;
     _currency     = currency;
     _userdelegate = userdelegatre;
 }
コード例 #15
0
 public SpecificContractsController(ICityRepository city, IContractTypeRepository contract_Type, ICountryRepository country, IForeignAgencyRepository agency, IEmployeeRepository emp, IReceiptDocRepository receipt, IContractSelectRepository select, IUserRepository user, IContractHistoryRepository history, IContractTicketRepository ticket, IContractVisaRepository visa, IContractDelegateRepository deleg, IJobTypeReository jobtype, ICustomerRepository customer, INationalityRepository nationality, ISpecificContractRepository contract, IMapper mapper, IToastNotification toastNotification)
 {
     _contract_Type     = contract_Type;
     _receipt           = receipt;
     _Contract          = contract;
     _mapper            = mapper;
     _toastNotification = toastNotification;
     _nationality       = nationality;
     _customer          = customer;
     _city     = city;
     _country  = country;
     _jobtype  = jobtype;
     _select   = select;
     _delegate = deleg;
     _visa     = visa;
     _ticket   = ticket;
     _history  = history;
     _user     = user;
     _emp      = emp;
     _agency   = agency;
 }
コード例 #16
0
 public NationalityService(INationalityRepository repository)
 {
     _nationalityRepository = repository;
 }
 public DataManager(IDistrictRepository districtRepository,
                    ILocalityRepository localityRepository,
                    IStreetRepository streetRepository,
                    IHouseRepository houseRepository,
                    IMunicipalityRepository municipalityRepository,
                    IPersonRepository personRepository,
                    INationalityRepository nationalityRepository,
                    IEducationRepository educationRepository,
                    IOrganizationRepository organizationRepository,
                    IMunicipalityHouseRelationRepository municipalityHouseRelationRepository,
                    IRegistrationRepository registrationRepository,
                    IPartyRepository partyRepository,
                    IPrecinctRepository precinctRepository,
                    IUserRepository userRepository,
                    IWorkerRepository workerRepository,
                    IVoterPartyRelationRepository voterPartyRelationRepository,
                    IVoterRepository voterRepository,
                    IUserLogRepository userLogRepository,
                    IRelationshipRepository relationshipRepository,
                    IPersonRelationRepository personRelationRepository,
                    ICandidateRepository candidateRepository,
                    IAgitatorRepository agitatorRepository,
                    IWorkerHouseRelationRepository workerHouseRelationRepository,
                    IAgitatorHouseRelationRepository agitatorHouseRelationRepository,
                    IAgitatorPrecinctRelationRepository agitatorPrecinctRelationRepository,
                    ICandidatePrecinctRelationRepository candidatePrecinctRelationRepository,
                    ICandidateMunicipalityRelationRepository candidateMunicipalityRelationRepository,
                    ITempPersonRepository tempPersonRepository,
                    IGEORepository geoRepository,
                    IPartyMemberRepository partyMemberRepository,
                    IPartySupporterRepository partySupporterRepository)
 {
     this.districtRepository     = districtRepository;
     this.municipalityRepository = municipalityRepository;
     this.personRepository       = personRepository;
     this.localityRepository     = localityRepository;
     this.nationalityRepository  = nationalityRepository;
     this.streetRepository       = streetRepository;
     this.houseRepository        = houseRepository;
     this.educationRepository    = educationRepository;
     this.organizationRepository = organizationRepository;
     this.municipalityHouseRelationRepository = municipalityHouseRelationRepository;
     this.registrationRepository                  = registrationRepository;
     this.partyRepository                         = partyRepository;
     this.precinctRepository                      = precinctRepository;
     this.userRepository                          = userRepository;
     this.workerRepository                        = workerRepository;
     this.voterPartyRelationRepository            = voterPartyRelationRepository;
     this.voterRepository                         = voterRepository;
     this.userLogRepository                       = userLogRepository;
     this.relationshipRepository                  = relationshipRepository;
     this.personRelationRepository                = personRelationRepository;
     this.candidateRepository                     = candidateRepository;
     this.agitatorRepository                      = agitatorRepository;
     this.workerHouseRelationRepository           = workerHouseRelationRepository;
     this.agitatorHouseRelationRepository         = agitatorHouseRelationRepository;
     this.agitatorPrecinctRelationRepository      = agitatorPrecinctRelationRepository;
     this.candidatePrecinctRelationRepository     = candidatePrecinctRelationRepository;
     this.candidateMunicipalityRelationRepository = candidateMunicipalityRelationRepository;
     this.tempPersonRepository                    = tempPersonRepository;
     this.geoRepository            = geoRepository;
     this.partyMemberRepository    = partyMemberRepository;
     this.partySupporterRepository = partySupporterRepository;
 }
コード例 #18
0
 public NationalityDS(INationalityAPIRepository citizenshipAPIRepo,
                      INationalityRepository citizenshipSQLiteRepo)
 {
     _citizenshipAPIRepo    = citizenshipAPIRepo;
     _citizenshipSQLiteRepo = citizenshipSQLiteRepo;
 }
コード例 #19
0
 public NationalitiesController(INationalityRepository repo, IHttpContextAccessor httpContext, IMapper mapper)
 {
     this.httpContext = httpContext;
     this.repo        = repo;
     this.mapper      = mapper;
 }
コード例 #20
0
 public NationalityController(INationalityRepository nationalityRepository)
 {
     _nationalityRepository = nationalityRepository;
 }
コード例 #21
0
ファイル: DataManager.cs プロジェクト: buddzbuddy/MSECAnalyze
 public DataManager(IDistrictRepository districtRepository,
     ILocalityRepository localityRepository,
     IStreetRepository streetRepository,
     IHouseRepository houseRepository,
     IMunicipalityRepository municipalityRepository,
     IPersonRepository personRepository,
     INationalityRepository nationalityRepository,
     IEducationRepository educationRepository,
     IOrganizationRepository organizationRepository,
     IMunicipalityHouseRelationRepository municipalityHouseRelationRepository,
     IRegistrationRepository registrationRepository,
     IPartyRepository partyRepository,
     IPrecinctRepository precinctRepository,
     IUserRepository userRepository,
     IWorkerRepository workerRepository,
     IVoterPartyRelationRepository voterPartyRelationRepository,
     IVoterRepository voterRepository,
     IUserLogRepository userLogRepository,
     IRelationshipRepository relationshipRepository,
     IPersonRelationRepository personRelationRepository,
     ICandidateRepository candidateRepository,
     IAgitatorRepository agitatorRepository,
     IWorkerHouseRelationRepository workerHouseRelationRepository,
     IAgitatorHouseRelationRepository agitatorHouseRelationRepository,
     IAgitatorPrecinctRelationRepository agitatorPrecinctRelationRepository,
     ICandidatePrecinctRelationRepository candidatePrecinctRelationRepository,
     ICandidateMunicipalityRelationRepository candidateMunicipalityRelationRepository,
     ITempPersonRepository tempPersonRepository,
     IGEORepository geoRepository,
     IPartyMemberRepository partyMemberRepository,
     IPartySupporterRepository partySupporterRepository)
 {
     this.districtRepository = districtRepository;
     this.municipalityRepository = municipalityRepository;
     this.personRepository = personRepository;
     this.localityRepository = localityRepository;
     this.nationalityRepository = nationalityRepository;
     this.streetRepository = streetRepository;
     this.houseRepository = houseRepository;
     this.educationRepository = educationRepository;
     this.organizationRepository = organizationRepository;
     this.municipalityHouseRelationRepository = municipalityHouseRelationRepository;
     this.registrationRepository = registrationRepository;
     this.partyRepository = partyRepository;
     this.precinctRepository = precinctRepository;
     this.userRepository = userRepository;
     this.workerRepository = workerRepository;
     this.voterPartyRelationRepository = voterPartyRelationRepository;
     this.voterRepository = voterRepository;
     this.userLogRepository = userLogRepository;
     this.relationshipRepository = relationshipRepository;
     this.personRelationRepository = personRelationRepository;
     this.candidateRepository = candidateRepository;
     this.agitatorRepository = agitatorRepository;
     this.workerHouseRelationRepository = workerHouseRelationRepository;
     this.agitatorHouseRelationRepository = agitatorHouseRelationRepository;
     this.agitatorPrecinctRelationRepository = agitatorPrecinctRelationRepository;
     this.candidatePrecinctRelationRepository = candidatePrecinctRelationRepository;
     this.candidateMunicipalityRelationRepository = candidateMunicipalityRelationRepository;
     this.tempPersonRepository = tempPersonRepository;
     this.geoRepository = geoRepository;
     this.partyMemberRepository = partyMemberRepository;
     this.partySupporterRepository = partySupporterRepository;
 }