public EcommerceService(IOrderCoordinator orderCoordinator, IProductRepository productRepository, IVoucherRepository voucherRepository, IContactService contactService, IBespokePricingHandlerFactory bespokePricingHandlerFactory) { if (orderCoordinator == null) { throw new ArgumentNullException("orderCoordinator"); } _orderCoordinator = orderCoordinator; if (productRepository == null) { throw new ArgumentNullException("productRepository"); } _productRepository = productRepository; if (voucherRepository == null) { throw new ArgumentNullException("voucherRepository"); } _voucherRepository = voucherRepository; if (contactService == null) throw new ArgumentNullException("contactService"); _contactService = contactService; if (bespokePricingHandlerFactory == null) { throw new ArgumentNullException("bespokePricingHandlerFactory"); } _bespokePricingHandlerFactory = bespokePricingHandlerFactory; }
public MiniMartController(IStoreRepository storeRepository, IProductRepository productRepository, ICartRepository cartRepository, IVoucherRepository voucherRepository) { _storeRepository = storeRepository; _productRepository = productRepository; _cartRepository = cartRepository; _voucherRepository = voucherRepository; }
public PedidoCommandHandler(IVoucherRepository voucherRepository, IPedidoRepository pedidoRepository, IMessageBus bus) { _voucherRepository = voucherRepository; _pedidoRepository = pedidoRepository; _bus = bus; }
public VoucherController(IVoucherRepository repository, IUserRepository userRepository, IShowroomerRepository showroomerRepository) { _repository = repository; _userRepository = userRepository; _showroomerRepository = showroomerRepository; }
public BaseService(CosDbContext dbContext) { this.DbContext = dbContext; this.MailingAddressRepository = RepositoryFactory.CreateObj <MailingAddressRepository>(dbContext); this.ExchangeRepository = RepositoryFactory.CreateObj <ExchangeRepository>(dbContext); this.ExchangeExamineRepository = RepositoryFactory.CreateObj <ExchangeExamineRepository>(dbContext); this.CooperationRepository = RepositoryFactory.CreateObj <CooperationRepository>(dbContext); this.ImgRepository = RepositoryFactory.CreateObj <ImgRepository>(dbContext); this.ExchangeReplyRepository = RepositoryFactory.CreateObj <ExchangeReplyRepository>(dbContext); this.CooperationReplyRepository = RepositoryFactory.CreateObj <CooperationReplyRepository>(dbContext); this.ExchangePersonRepository = RepositoryFactory.CreateObj <ExchangePersonRepository>(dbContext); this.MemberRepository = RepositoryFactory.CreateObj <MemberRepository>(dbContext); this.RechargeRecordRepository = RepositoryFactory.CreateObj <RechargeRecordRepository>(dbContext); this.SysParaRepository = RepositoryFactory.CreateObj <SysParaRepository>(dbContext); this.ExchangeEventRepository = RepositoryFactory.CreateObj <ExchangeEventRepository>(dbContext); this.DepositControlRepository = RepositoryFactory.CreateObj <DepositControlRepository>(dbContext); this.LogisticRepository = RepositoryFactory.CreateObj <LogisticRepository>(dbContext); this.LoginCodeRepository = RepositoryFactory.CreateObj <LoginCodeRepository>(dbContext); this.ShipperCompanyRepository = RepositoryFactory.CreateObj <ShipperCompanyRepository>(dbContext); this.AdminMemberRepository = RepositoryFactory.CreateObj <AdminMemberRepository>(dbContext); this.CooperationClassRepository = RepositoryFactory.CreateObj <CooperationClassRepository>(dbContext); this.RefundRepository = RepositoryFactory.CreateObj <RefundRepository>(dbContext); this.QuickNavigationRepository = RepositoryFactory.CreateObj <QuickNavigationRepository>(dbContext); this.PostageRepository = RepositoryFactory.CreateObj <PostageRepository>(dbContext); this.CosFileStatRepository = RepositoryFactory.CreateObj <CosFileStatRepository>(dbContext); this.ExchangeClassRepository = RepositoryFactory.CreateObj <ExchangeClassRepository>(dbContext); this.VoucherRepository = RepositoryFactory.CreateObj <VoucherRepository>(dbContext); this.LoginIpRepository = RepositoryFactory.CreateObj <LoginIPRepository>(dbContext); this.IntegralChangeRepository = RepositoryFactory.CreateObj <IntegralChangeRepository>(dbContext); this.LoggingRepository = RepositoryFactory.CreateObj <LoggingRepository>(dbContext); this.MemberRegisterRepository = RepositoryFactory.CreateObj <MemberRegisterRepository>(dbContext); this.VersionNotesRepository = RepositoryFactory.CreateObj <VersionNotesRepository>(dbContext); }
public UserController(IUserRepository repository, IInteractionRepository interactionRepository , IVoucherRepository voucherRepository, IProductRepository productRepository) { _repository = repository; _interactionRepository = interactionRepository; _voucherRepository = voucherRepository; _productRepository = productRepository; }
public OrderCommandHandler(IOrderRepository orderRepository, IVoucherRepository voucherRepository, IMessageBus bus) { _orderRepository = orderRepository; _voucherRepository = voucherRepository; _bus = bus; }
// konstruktor této třídy public VoucherController(IVoucherRepository voucherRepository, //IConverter converter, UserManager <ApplicationUser> userManager) { this.voucherRepository = voucherRepository; //this.converter = converter; this.userManager = userManager; }
public VouchersController(IVoucherRepository voucherRepo, IMapper mapper, ILogger <FiscalYearsController> logger) { _voucherRepo = voucherRepo; _mapper = mapper; _logger = logger; }
public VoucherAppService(IVoucherService voucherService, IVoucherRepository voucherRepository, IVoucherHistoricDataRepository voucherHistoricDataRepository, IVoucherHistoricDataService voucherHistoricDataService) { VoucherService = voucherService; VoucherRepository = voucherRepository; VoucherHistoricDataService = voucherHistoricDataService; VoucherHistoricDataRepository = voucherHistoricDataRepository; }
public AddCharterInStartReceiptVoucher(IVoucherRepository voucherRepository, IUnitOfWorkScope unitOfWorkScope ,IVoucherSetingRepository voucherSetingRepository) { _voucherRepository = voucherRepository; _unitOfWorkScope = unitOfWorkScope; _voucherSetingRepository = voucherSetingRepository; }
public VoucherController(IVoucherRepository repository, IMapper mapper, LinkGenerator linkGenerator, ILogger <VoucherController> logger) { _repository = repository; _mapper = mapper; _linkGenerator = linkGenerator; _logger = logger; }
public CartController(IPizzaRepository repo, IOrderlineRepository orderlineRepo, IOrderRepository orderRepo, IDeliveryRepository deliveryRepo, IVoucherRepository voucherRepo, IPizzaToppingOrderRepository pizzaToppingOrderRepo) { repository = repo; orderlineRepository = orderlineRepo; orderRepository = orderRepo; deliveryRepository = deliveryRepo; voucherRepository = voucherRepo; pizzaToppingOrderRepository = pizzaToppingOrderRepo; }
//inject the services public BaseService(IGiftVoucherService giftService, IDiscountVoucherService discountService, IValueVoucherService valueService, IVoucherRepository voucherRepository, ILogger <BaseService> logger) { this._giftVoucherService = giftService; this._discountVoucherService = discountService; this._valueVoucherService = valueService; this._baseRepository = voucherRepository; this._logger = logger; }
public DishonourLetterRepository( IDataObjectRepository objectRepository, IDfsConfiguration dfsConfiguration, IVoucherRepository voucherRepository) { this.objectRepository = objectRepository; this.dfsConfiguration = dfsConfiguration; this.voucherRepository = voucherRepository; }
public ShowroomerController(IShowroomerRepository repository, IVoucherRepository voucherRepository, IInteractionRepository interactionRepository, IShowroomRepository showroomRepository, IProductRepository productRepository) { _repository = repository; _voucherRepository = voucherRepository; _interactionRepository = interactionRepository; _showroomRepository = showroomRepository; _productRepository = productRepository; }
public CommentController(ICommentRepository repository, IUserRepository userRepository, IProductRepository productRepository, IVoucherRepository voucherRepository, IRateRepository rateRepository) { _repository = repository; _productRepository = productRepository; _userRepository = userRepository; _voucherRepository = voucherRepository; _rateRepository = rateRepository; }
public CustomerMakeParameterSetMapper( IBusRepository busRepository, IUserRepository userRepository, IVoucherRepository voucherRepository, IBookingRepository bookingRepository) { _busRepository = busRepository; _userRepository = userRepository; _voucherRepository = voucherRepository; _bookingRepository = bookingRepository; }
public CartController(ISession session, ICartRepository cartRepository, IProductRepository productRepository, IVoucherRepository voucherRepository, IPurchaseRepository purchaseRepository) { _session = session; _cartRepository = cartRepository; _productRepository = productRepository; _voucherRepository = voucherRepository; _purchaseRepository = purchaseRepository; }
public FinanceController(IAccountRepository accountrepo, IVoucherRepository vourepo, IVoucherDetailRepository voudetailrepo, ITransactionAccountRepository ualrepo, IPostedVoucherRepository postvourepo, IUnpostedVoucherRepository unpostvourepo, IFinancialYearRepository financeyearrepo, IVoucherTypeRepository vouchertyperepo) { Account_Repo = accountrepo; UAL_Repo = ualrepo; Vou_repo = vourepo; VouDetail_repo = voudetailrepo; PostedVou_repo = postvourepo; UnpostedVou_repo = unpostvourepo; FinancialYear_Repo = financeyearrepo; VoucherType_Repo = vouchertyperepo; }
public VoucherController(ISession session, IVoucherRepository voucherRepository, IVoucherCodeGenerator codeGenerator) { _session = session; _voucherRepository = voucherRepository; _codeGenerator = codeGenerator; }
public VoucherService(IVoucherRepository voucherRepository, IVoucherDetailRepository voucherDetailRepository, IUnitOfWork unitOfWork) { _voucherRepository = voucherRepository; _voucherDetailRepository = voucherDetailRepository; _unitOfWork = unitOfWork; }
public override void SetRepositories() { _Service = new VoucherService((U, C, A) => ExecuteQueryWithTypedParametersAndNetworkAccessAsync(U, C, A)); _Reposetory = new VoucherRepository(_MasterRepo, _Service); }
public VoucherQueries(IVoucherRepository voucherRepository) { _voucherRepository = voucherRepository; }
/// <summary> /// Initializes a new instance of the <see cref="TourController" /> class. /// </summary> /// <param name="tourRepository">The tour repository.</param> /// <param name="localRepository">The local repository.</param> /// <param name="voucherRepository">The voucher repository.</param> public TourController(ITourRepository tourRepository, ILocationRepository localRepository, IVoucherRepository voucherRepository) { this.tourRepository = tourRepository; this.localRepository = localRepository; this.voucherRepository = voucherRepository; }
public static void Initialise(TestContext context) { var configService = new Mock<IConfigurationService>(); configService.Setup(x => x.GetConfiguration()).Returns(new CustomerPortalSection()); _sut=new VoucherRepository(configService.Object); }
public VoucherBusiness(IVoucherRepository voucher, IUnitOfWork unitOfWork) { _voucher = voucher; _unitOfWork = unitOfWork; }
public VoucherService(IVoucherRepository voucherRepository) { repository = voucherRepository; }
public VoucherController(IVoucherRepository voucherRepository) { _voucherRepository = voucherRepository; }
public ClaimedVoucherService(IClaimedVoucherRepository claimedRepo, IVoucherRepository vouRepo) { _claimedRepo = claimedRepo; _vouRepo = vouRepo; }
public VouchersController(IVoucherRepository voucherRepository) { _voucherRepository = voucherRepository; }
/// <summary> /// Initializes a new instance of the <see cref="VoucherController"/> class. /// </summary> /// <param name="repo">The repo.</param> public VoucherController(IVoucherRepository repo) { _repo = repo; }
public VoucherCodeApplier(IVoucherRepository voucherRepository, ISubscriptionRepository subscriptionRepository, VoucherConnector storeConnector) { VoucherRepository = voucherRepository; SubscriptionRepository = subscriptionRepository; StoreConnector = storeConnector; }
public VoucherQueries(IVoucherRepository repository) { _repository = repository; }
public DocumentumContext(IDataObjectRepository dataObjects, IVoucherRepository vouchers, IDishonourLetterRepository letters) { DataObjects = dataObjects; Vouchers = vouchers; DishonourLetters = letters; }
public VoucherConnector(IVoucherRepository repository) { Repository = repository ?? throw new ArgumentNullException(nameof(repository)); }
public PedidoCommandHandler(IVoucherRepository voucherRepository, IPedidoRepository pedidoRepository) { _voucherRepository = voucherRepository; _pedidoRepository = pedidoRepository; }
/// <summary> /// Initializes a new instance of the <see cref="VoucherTasks"/> class. /// </summary> /// <param name="voucherRepository">The voucher repository.</param> public VoucherTasks(IVoucherRepository voucherRepository) { this.voucherRepository = voucherRepository; }
public VoucherService(IVoucherRepository voucherRepository, IMapper mapper) { _voucherRepository = voucherRepository; _mapper = mapper; }
public VoucherController(IVoucherRepository currencyRepository) { _VoucherRepository = currencyRepository; }