/// <summary> /// Constructor /// </summary> public VehicleService(IVehicleRepository vehicleRepository, IOperationRepository operationRepository, IFleetPoolRepository fleetPoolRepository, ICompanyRepository companyRepository, IRegionRepository regionRepository, IFuelTypeRepository fuelTypeRepository, IVehicleMakeRepository vehicleMakeRepository, IVehicleStatusRepository vehicleStatusRepository, IDepartmentRepository departmentRepository, ITransmissionTypeRepository transmissionTypeResposirory, IBusinessPartnerRepository businessPartnerRepository, IInsuranceTypeRepository insuranceTypeRepository, IMaintenanceTypeRepository maintenanceTypeRepository, IVehicleCheckListRepository vehicleCheckListRepository, IVehicleModelRepository vehicleModelRepository, IVehicleCategoryRepository vehicleCategoryRepository, IOperationsWorkPlaceRepository operationsWorkPlaceRepository, IVehicleMaintenanceTypeFrequencyRepository maintenanceTypeFrequencyRepository, IVehicleCheckListItemRepository vehicleCheckListItemRepository) { if (vehicleRepository == null) { throw new ArgumentNullException("vehicleRepository"); } this.vehicleRepository = vehicleRepository; this.operationRepository = operationRepository; this.fleetPoolRepository = fleetPoolRepository; this.companyRepository = companyRepository; this.regionRepository = regionRepository; this.fuelTypeRepository = fuelTypeRepository; this.vehicleMakeRepository = vehicleMakeRepository; this.vehicleStatusRepository = vehicleStatusRepository; this.departmentRepository = departmentRepository; this.transmissionTypeResposirory = transmissionTypeResposirory; this.businessPartnerRepository = businessPartnerRepository; this.insuranceTypeRepository = insuranceTypeRepository; this.maintenanceTypeRepository = maintenanceTypeRepository; this.vehicleCheckListRepository = vehicleCheckListRepository; this.vehicleModelRepository = vehicleModelRepository; this.vehicleCategoryRepository = vehicleCategoryRepository; this.operationsWorkPlaceRepository = operationsWorkPlaceRepository; this.maintenanceTypeFrequencyRepository = maintenanceTypeFrequencyRepository; this.vehicleCheckListItemRepository = vehicleCheckListItemRepository; }
public IBusinessPartnerRepository GetBusinessPartnerRepository() { if (businessPartnerRepository == null) { businessPartnerRepository = new BusinessPartnerViewRepository(context); } return(businessPartnerRepository); }
public VotingController(IEmailRepository EmailRepo, RoleManager <IdentityRole> RoleManager, UserManager <AspNetUsers> UserManager, IBusinessPartnerRepository BPrepo, IVotingRepository VotingRepo) { _BPrepo = BPrepo; _VotingRepo = VotingRepo; _UserManager = UserManager; _RoleManager = RoleManager; _EmailRepo = EmailRepo; }
public AuthController(RoleManager <IdentityRole> RoleManager, UserManager <AspNetUsers> UserManager, SignInManager <AspNetUsers> SignInManager, IAuthRepository AuthRepo, IConfiguration config, IBusinessPartnerRepository BPrepo) { _AuthRepo = AuthRepo; _config = config; _BPrepo = BPrepo; _UserManager = UserManager; _SignInManager = SignInManager; _RoleManager = RoleManager; }
public PaymentService(IUnitOfWork unitOfWork, IPaymentRepository paymentRepository, ICurrencyRepository currencyRepository, IBusinessPartnerRepository businessPartnerRepository) { _paymentRepository = paymentRepository; _paymentRepository.UnitOfWork = unitOfWork; _currencyRepository = currencyRepository; _currencyRepository.UnitOfWork = unitOfWork; _businessPartnerRepository = businessPartnerRepository; _businessPartnerRepository.UnitOfWork = unitOfWork; }
public SalesOrderService(IUnitOfWork unitOfWork, ISalesOrderRepository salesOrderRepository, ICurrencyRepository currencyRepository, IBusinessPartnerRepository businessPartnerRepository) { _salesOrderRepository = salesOrderRepository; _salesOrderRepository.UnitOfWork = unitOfWork; _currencyRepository = currencyRepository; _currencyRepository.UnitOfWork = unitOfWork; _businessPartnerRepository = businessPartnerRepository; _businessPartnerRepository.UnitOfWork = unitOfWork; }
public PurchaseOrderService(IUnitOfWork unitOfWork, IPurchaseOrderRepository purchaseOrderRepository, ICurrencyRepository currencyRepository, IBusinessPartnerRepository businessPartnerRepository) { _purchaseOrderRepository = purchaseOrderRepository; _purchaseOrderRepository.UnitOfWork = unitOfWork; _currencyRepository = currencyRepository; _currencyRepository.UnitOfWork = unitOfWork; _businessPartnerRepository = businessPartnerRepository; _businessPartnerRepository.UnitOfWork = unitOfWork; }
public ItemService(IUnitOfWork unitOfWork, IItemRepository itemRepository, ICurrencyRepository currencyRepository, IBusinessPartnerRepository businessPartnerRepository, IItemGroupRepository itemGroupRepository) { _itemRepository = itemRepository; _itemRepository.UnitOfWork = unitOfWork; _currencyRepository = currencyRepository; _currencyRepository.UnitOfWork = unitOfWork; _businessPartnerRepository = businessPartnerRepository; _businessPartnerRepository.UnitOfWork = unitOfWork; _itemGroupRepository = itemGroupRepository; _itemGroupRepository.UnitOfWork = unitOfWork; }
public BusinessPartnerBaseDataService(ICompanyRepository companyRepository , IPaymentTermRepository paymentTermRepository , IBusinessLegalStatusRepository businessLegalStatusRepository , IBpRatingTypeRepository bpRatingTypeRepository , IBusinessPartnerRepository businessPartnerRepository , IEmployeeRepository employeeRepository , IOccupationTypeRepository occupationTypeRepository , IBusinessPartnerCompanyRepository businessPartnerCompanyRepository , ICountryRepository passportCountryRepository , IBusinessSegmentRepository businessSegmentRepository , IBusinessPartnerSubTypeRepository businessPartnerSubTypeRepository , IPhoneTypeRepository phoneTypeRepository , IAddressTypeRepository addressTypeRepository , IMarketingChannelRepository marketingChannelRepository , IBusinessPartnerRelationshipTypeRepository businessPartnerRelationshipTypeRepository , IRegionRepository regionRepository , ISubRegionRepository subRegionRepository , ICityRepository cityRepository , IAreaRepository areaRepository) { this.companyRepository = companyRepository; this.paymentTermRepository = paymentTermRepository; this.businessLegalStatusRepository = businessLegalStatusRepository; this.bpRatingTypeRepository = bpRatingTypeRepository; this.businessPartnerRepository = businessPartnerRepository; this.employeeRepository = employeeRepository; this.occupationTypeRepository = occupationTypeRepository; this.businessPartnerCompanyRepository = businessPartnerCompanyRepository; this.countryRepository = passportCountryRepository; this.businessSegmentRepository = businessSegmentRepository; this.businessPartnerSubTypeRepository = businessPartnerSubTypeRepository; this.phoneTypeRepository = phoneTypeRepository; this.addressTypeRepository = addressTypeRepository; this.marketingChannelRepository = marketingChannelRepository; this.businessPartnerRelationshipTypeRepository = businessPartnerRelationshipTypeRepository; this.regionRepository = regionRepository; this.subRegionRepository = subRegionRepository; this.cityRepository = cityRepository; this.areaRepository = areaRepository; }
/// <summary> /// Constructor /// </summary> public BusinessPartnerService(IBusinessPartnerRepository businessPartnerRepository, IBusinessPartnerInTypeRepository businessPartnerInTypeRepository, IPhoneRepository phoneRepository, IAddressRepository addressRepository, IBusinessPartnerMarketingChannelRepository businessPartnerMarketingChannelRepository, IBusinessPartnerRelationshipRepository businessPartnerRelationshipRepository, IBusinessPartnerCompanyRepository businessPartnerCompanyRepository, IBusinessPartnerIndividualRepository businessPartnerIndividualRepository) { if (businessPartnerInTypeRepository == null) { throw new ArgumentNullException("businessPartnerInTypeRepository"); } this.businessPartnerRepository = businessPartnerRepository; this.businessPartnerInTypeRepository = businessPartnerInTypeRepository; businessPartnerPhoneRepository = phoneRepository; businessPartnerAddressRepository = addressRepository; this.businessPartnerMarketingChannelRepository = businessPartnerMarketingChannelRepository; this.businessPartnerRelationshipRepository = businessPartnerRelationshipRepository; this.businessPartnerCompanyRepository = businessPartnerCompanyRepository; this.businessPartnerIndividualRepository = businessPartnerIndividualRepository; }
public BusinessPartnerController(IBusinessPartnerRepository BPrepo) { _BPrepo = BPrepo; }
public MeetingController(IBusinessPartnerRepository BPrepo, IVotingRepository VotingRepo) { _BPrepo = BPrepo; _VotingRepo = VotingRepo; }
public BusinessPartnerService(IUnitOfWork unitOfWork, IBusinessPartnerRepository businessPartnerRepository) { _businessPartnerRepository = businessPartnerRepository; _businessPartnerRepository.UnitOfWork = unitOfWork; }
/// <summary> /// Constructor /// </summary> public RatingTypeService(IBpRatingTypeRepository bpRatingTypeRepository, ICreditLimitRepository creditLimitRepository, IBusinessPartnerRepository businessPartnerRepository) { this.bpRatingTypeRepository = bpRatingTypeRepository; this.creditLimitRepository = creditLimitRepository; this.businessPartnerRepository = businessPartnerRepository; }
public BusinessLegalStatusService(IBusinessLegalStatusRepository businessLegalStatusRepository, IBusinessPartnerRepository businessPartnerRepository) { this.businessLegalStatusRepository = businessLegalStatusRepository; this.businessPartnerRepository = businessPartnerRepository; }
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; }
public BusinessPartnerApp(IBusinessPartnerRepository BusinessPartnerRepository) { _BusinessPartnerRepository = BusinessPartnerRepository; }