Exemple #1
0
        public PassportService(
            IPassportRepository passportRepository)
        {
            Contract.Argument.IsNotNull(passportRepository, nameof(passportRepository));

            _passportRepository = passportRepository;
        }
Exemple #2
0
        public EmployeeWriteCommand(
            IEmployeeRepository employeeRepository,
            IPassportRepository passportRepository,
            IContactRepository contactRepository,
            IOrganizationRepository organizationRepository,
            IStateRegistrationRepository stateRegistrationRepository,
            IReadCommand <PassportResult> passportReadCommand,
            IReadCommand <ContactResult> contactReadCommand,
            IEmployeeService employeeService,
            DomainContext domainContext)
        {
            Contract.Argument.IsNotNull(employeeRepository, nameof(employeeRepository));
            Contract.Argument.IsNotNull(passportRepository, nameof(passportRepository));
            Contract.Argument.IsNotNull(contactRepository, nameof(contactRepository));
            Contract.Argument.IsNotNull(organizationRepository, nameof(organizationRepository));
            Contract.Argument.IsNotNull(stateRegistrationRepository, nameof(stateRegistrationRepository));
            Contract.Argument.IsNotNull(passportReadCommand, nameof(passportReadCommand));
            Contract.Argument.IsNotNull(contactReadCommand, nameof(contactReadCommand));
            Contract.Argument.IsNotNull(employeeService, nameof(employeeService));
            Contract.Argument.IsNotNull(domainContext, nameof(domainContext));

            _employeeRepository          = employeeRepository;
            _passportRepository          = passportRepository;
            _contactRepository           = contactRepository;
            _organizationRepository      = organizationRepository;
            _stateRegistrationRepository = stateRegistrationRepository;
            _passportReadCommand         = passportReadCommand;
            _contactReadCommand          = contactReadCommand;
            _employeeService             = employeeService;
            _domainContext = domainContext;
        }
 public SubscriberRegister(ISubscriberRepository subscriberRepository,
                           IPassportSearchRepository passportSearchRepository,
                           IPassportRepository passportRepository,
                           IMd5Encrypter encrypt)
 {
     _subscriberRepository     = subscriberRepository;
     _passportSearchRepository = passportSearchRepository;
     _passportRepository       = passportRepository;
     _encrypt = encrypt;
 }
Exemple #4
0
 public PassportService(IPassportSearchRepository passportSearchRepository,
                        ISubscriberSearchRepository subscriberSearchRepository,
                        IPassportRepository passportRepository,
                        ISignInRepository signInRepository,
                        IMd5Encrypter encrypt)
 {
     _passportSearchRepository   = passportSearchRepository;
     _subscriberSearchRepository = subscriberSearchRepository;
     _passportRepository         = passportRepository;
     _signInRepository           = signInRepository;
     _encrypt = encrypt;
 }
Exemple #5
0
 public AlienWriteCommand(
     IContactRepository contactRepository,
     IPassportRepository passportRepository,
     IOrganizationRepository organizationRepository,
     IStateRegistrationRepository stateRegistrationRepository,
     IAlienRepository alienRepository)
 {
     _contactRepository           = contactRepository;
     _passportRepository          = passportRepository;
     _organizationRepository      = organizationRepository;
     _stateRegistrationRepository = stateRegistrationRepository;
     _alienRepository             = alienRepository;
 }
Exemple #6
0
 public AlienRepository(
     IContactRepository contactRepository,
     IPassportRepository passportRepository,
     IOrganizationRepository organizationRepository,
     IStateRegistrationRepository stateRegistrationRepository,
     DomainContext domainContext)
 {
     _contactRepository           = contactRepository;
     _passportRepository          = passportRepository;
     _organizationRepository      = organizationRepository;
     _stateRegistrationRepository = stateRegistrationRepository;
     _domainContext = domainContext;
 }
 public EmployeeWriteCommand(
     IContactRepository contactRepository,
     IPassportRepository passportRepository,
     IOrganizationRepository organizationRepository,
     IStateRegistrationRepository stateRegistrationRepository,
     IEmployeeRepository employeeRepository,
     DomainContext domainContext)
 {
     _contactRepository           = contactRepository;
     _passportRepository          = passportRepository;
     _organizationRepository      = organizationRepository;
     _stateRegistrationRepository = stateRegistrationRepository;
     _employeeRepository          = employeeRepository;
     _domainContext = domainContext;
 }
Exemple #8
0
 public PmsWorkArea(
     IDatabaseSession databaseSession,
     IAddressRepository addresses,
     ICollaboratorRepository collaborators,
     ICommercialGuestRepository commercialGuests,
     IIndividualGuestRepository individualGuests,
     IMaintenanceJobRepository maintenanceJobs,
     IPassportRepository passports,
     IRoomRepository rooms) : base(databaseSession)
 {
     Addresses        = addresses;
     Collaborators    = collaborators;
     CommercialGuests = commercialGuests;
     IndividualGuests = individualGuests;
     MaintenanceJobs  = maintenanceJobs;
     Passports        = passports;
     Rooms            = rooms;
 }
Exemple #9
0
        public PassportReadCommand(IPassportRepository passportRepository)
        {
            Contract.Argument.IsNotNull(passportRepository, nameof(passportRepository));

            _passportRepository = passportRepository;
        }
 public PassportReadCommand(IPassportRepository passportRepository)
 {
     _passportRepository = passportRepository;
 }
Exemple #11
0
 public ForeignParticipantRepository(IPassportRepository passportRepository, DomainContext domainContext)
 {
     _passportRepository = passportRepository;
     _domainContext      = domainContext;
 }
Exemple #12
0
        public UnitOfWork(IContoRepository contoRepository,
                          IBusinessPartnerBankAccountRepository businessPartnerBankAccountRepository,
                          IBusinessPartnerLocationRepository businessPartnerLocationRepository,
                          IBusinessPartnerPhoneRepository businessPartnerPhoneRepository,
                          IBusinessPartnerRepository businessPartnerRepository,

                          ICalculationsRepository inputCalculationsRepository,
                          IPriceLevelingRepository priceLevelingRepository,
                          IPricingRepository pricingRepository,

                          ICashierRepository cashierRepository,

                          IClawbackFromBuyerRepository clawbackFromBuyerRepository,
                          IClawbackFromSupplierRepository clawbackFromSupplierRepository,

                          ILoanRepository loanRepository,

                          IWritingOffRepository writingOffRepository,

                          ICompanyBankAccountRepository companyBankAccountRepository,
                          ICompanyPhoneRepository companyPhoneRepository,
                          ICompanyRepository companyRepository,

                          IDeliveryNoteRepository deliveryNoteRepository,
                          IInternalDeliveryNoteRepository internalDeliveryNoteRepository,
                          IInputNoteRepository inputNoteRepository,

                          IPassportRepository passportRepository,

                          IExchangeRateRepository exchangeRateRepository,

                          IAuthenticationRepository authenticationRepository,
                          IUserRepository userRepository,

                          IAccountStatementRepository accountStatementRepository,
                          IBookOfOutputInvoicesRepository bookOfOutputInvoicesRepository,
                          ICreditNoteRepository creditNoteRepository,
                          IOutputInvoiceRepository outputInvoiceRepository,
                          IInputInvoiceRepository inputInvoiceRepository,
                          IOutputProInvoiceRepository outputProInvoiceRepository,



                          ICountryRepository countryRepository,
                          ICityRepository cityRepository,
                          IExpenseLocationRepository expenseLocationRepository,

                          IMunicipalityRepository municipalityRepository,

                          IOrganizationUnitRepository organizationUnitRepository,
                          ISectionRepository sectionRepository,

                          IProductCardRepository productCardRepository,
                          IProductGroupRepository productGroupRepository,
                          IProductSubGroupRepository productSubGroupRepository,
                          IProductRepository productRepository,
                          IProductSubItemRepository productSubItemRepository,
                          IAnimalTypeRepository animalTypeRepository,
                          IAnimalSubTypeRepository animalSubTypeRepository,
                          IUnitOfMeasurementRepository unitOfMeasurementRepository,
                          IPalletRepository palletRepository,

                          IProductTypeRepository productTypeRepository,
                          IProductVatPercentRepository productVatPercentRepository,

                          IKepuBookRepository kepuBookRepository,

                          IBoxRepository boxRepository,
                          IDepotRepository depotRepository,
                          IStockRepository stockRepository,
                          IWarehouseRepository warehouseRepository,
                          IWarehouseTypeRepository warehouseTypeRepository,
                          IWarehousePriceTypeRepository warehousePriceTypeRepository,

                          IManuelWarrantRepository manuelWarrantRepository,
                          IEmployeeRepository employeeRepository,
                          IEmployeeBankAccountRepository employeeBankAccountRepository,
                          IWorkHourRepository workHourRepository,
                          IWorkTypeRepository workTypeRepository,
                          IDeductionTypeRepository deductionTypeRepository,
                          IContributionRepository contributionRepository,
                          IDeductionRepository deductionRepository,

                          IMonthUtilityRepository monthUtilityRepository,

                          IWarrantTypeRepository warrantTypeRepository,

                          IAmortizationGroupRepository amortizationGroupRepository,
                          IFixedAssetRepository fixedAssetRepository,

                          IMigrationLogRepository migrationLogRepository,

                          IFinancialTemplateRepository financialTemplateRepository,

                          IMainFinancialBookRepository mainFinancialBookRepository,

                          IAdvanceOutputInvoiceRepository advanceOutputInvoiceRepository)
        {
            this.context = ApplicationDbContext.GetInstance();

            this.contoRepository = contoRepository;

            this.businessPartnerBankAccountRepository = businessPartnerBankAccountRepository;
            this.businessPartnerLocationRepository    = businessPartnerLocationRepository;
            this.businessPartnerPhoneRepository       = businessPartnerPhoneRepository;
            this.businessPartnerRepository            = businessPartnerRepository;

            this.inputCalculationsRepository = inputCalculationsRepository;
            this.priceLevelingRepository     = priceLevelingRepository;
            this.pricingRepository           = pricingRepository;

            this.cashierRepository = cashierRepository;

            this.clawbackFromBuyerRepository    = clawbackFromBuyerRepository;
            this.clawbackFromSupplierRepository = clawbackFromSupplierRepository;

            this.loanRepository = loanRepository;

            this.writingOffRepository = writingOffRepository;

            this.companyBankAccountRepository = companyBankAccountRepository;
            this.companyPhoneRepository       = companyPhoneRepository;
            this.companyRepository            = companyRepository;

            this.deliveryNoteRepository         = deliveryNoteRepository;
            this.internalDeliveryNoteRepository = internalDeliveryNoteRepository;
            this.inputNoteRepository            = inputNoteRepository;

            this.passportRepository = passportRepository;

            this.exchangeRateRepository = exchangeRateRepository;

            this.authenticationRepository = authenticationRepository;
            this.userRepository           = userRepository;

            this.accountStatementRepository     = accountStatementRepository;
            this.bookOfOutputInvoicesRepository = bookOfOutputInvoicesRepository;
            this.creditNoteRepository           = creditNoteRepository;
            this.outputInvoiceRepository        = outputInvoiceRepository;
            this.outputProInvoiceRepository     = outputProInvoiceRepository;


            this.inputInvoiceRepository         = inputInvoiceRepository;
            this.advanceOutputInvoiceRepository = advanceOutputInvoiceRepository;

            this.countryRepository         = countryRepository;
            this.cityRepository            = cityRepository;
            this.expenseLocationRepository = expenseLocationRepository;

            this.municipalityRepository = municipalityRepository;

            this.organizationUnitRepository = organizationUnitRepository;
            this.sectionRepository          = sectionRepository;

            this.productCardRepository       = productCardRepository;
            this.productGroupRepository      = productGroupRepository;
            this.productSubGroupRepository   = productSubGroupRepository;
            this.productRepository           = productRepository;
            this.productSubItemRepository    = productSubItemRepository;
            this.animalTypeRepository        = animalTypeRepository;
            this.animalSubTypeRepository     = animalSubTypeRepository;
            this.unitOfMeasurementRepository = unitOfMeasurementRepository;
            this.palletRepository            = palletRepository;

            this.productTypeRepository       = productTypeRepository;
            this.productVatPercentRepository = productVatPercentRepository;

            this.kepuBookRepository = kepuBookRepository;

            this.boxRepository                = boxRepository;
            this.depotRepository              = depotRepository;
            this.stockRepository              = stockRepository;
            this.warehouseRepository          = warehouseRepository;
            this.warehouseTypeRepository      = warehouseTypeRepository;
            this.warehousePriceTypeRepository = warehousePriceTypeRepository;

            this.manuelWarrantRepository = manuelWarrantRepository;

            this.employeeRepository            = employeeRepository;
            this.employeeBankAccountRepository = employeeBankAccountRepository;
            this.deductionTypeRepository       = deductionTypeRepository;
            this.workHourRepository            = workHourRepository;
            this.workTypeRepository            = workTypeRepository;

            this.contributionRepository = contributionRepository;
            this.deductionRepository    = deductionRepository;

            this.monthUtilityRepository = monthUtilityRepository;

            this.warrantTypeRepository = warrantTypeRepository;

            this.amortizationGroupRepository = amortizationGroupRepository;
            this.fixedAssetRepository        = fixedAssetRepository;

            this.migrationLogRepository = migrationLogRepository;

            this.financialTemplateRepository = financialTemplateRepository;

            this.mainFinancialBookRepository = mainFinancialBookRepository;
        }