Пример #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;
        }
        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;
        }
 public EmployeeParametersMapper(INationalityRepository nationalityRepository,
                                 ICompanyVehicleTypeRepository companyVehicleTypeRepository,
                                 IEmploymentStatusRepository employmentStatusRepository, 
                                 ISiteRepository siteRepository)
 {
     _nationalityRepository = nationalityRepository;
     _companyVehicleTypeRepository = companyVehicleTypeRepository;
     _employmentStatusRepository = employmentStatusRepository;
     _siteRepository = siteRepository;
 }
Пример #7
0
 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;
 }
        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;
 }
 public NationalityDS(INationalityAPIRepository citizenshipAPIRepo,
                      INationalityRepository citizenshipSQLiteRepo)
 {
     _citizenshipAPIRepo    = citizenshipAPIRepo;
     _citizenshipSQLiteRepo = citizenshipSQLiteRepo;
 }
 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
 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;
 }