Ejemplo n.º 1
0
 public NationalitiesController(NajmetAlraqeeContext context, INationalityRepository nationality, IMapper mapper, IToastNotification toastNotification)
 {
     _context           = context;
     _nationality       = nationality;
     _mapper            = mapper;
     _toastNotification = toastNotification;
 }
Ejemplo n.º 2
0
 public SpecialEmployeeController(INationalityRepository nationality, ISpecialEmployeeRepository emp_spec, IMapper mapper, IToastNotification toastNotification)
 {
     _emp_spec          = emp_spec;
     _mapper            = mapper;
     _toastNotification = toastNotification;
     _nationality       = nationality;
 }
Ejemplo n.º 3
0
 public NationalityController(
     INationalityRepository nationalityRepository,
     ICommonService commonService,
     IUnitOfWork unitOfWork) : base(commonService, unitOfWork)
 {
     _nationalityRepository = nationalityRepository;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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
            };
        }
Ejemplo n.º 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;
        }
Ejemplo n.º 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
            };
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 20
0
 public NationalityController(INationalityRepository nationalityRepository)
 {
     _nationalityRepository = nationalityRepository;
 }
Ejemplo n.º 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;
 }