public SaleUseCases(ISaleRepository saleRepository, IDetailRepository detailRepository, IProductRepository productRepository, IPriceRepository priceRepository, IClientRepository clientRepository, ICashRepository cashRepository, ICreditCardRepository creditCardRepository, IDebitCardRepository debitCardRepository, IChequesPaymentRepository chequesPaymentRepository, IChequeRepository chequeRepository, IOwnFeesRepository ownFeesRepository, IFeeRepository feeRepository, IFeeRuleRepository feeRuleRepository, IMapper mapper ) { _saleRepository = saleRepository; _detailRepository = detailRepository; _productRepository = productRepository; _priceRepository = priceRepository; _clientRepository = clientRepository; _cashRepository = cashRepository; _creditCardRepository = creditCardRepository; _debitCardRepository = debitCardRepository; _chequesPaymentRepository = chequesPaymentRepository; _chequeRepository = chequeRepository; _ownFeesRepository = ownFeesRepository; _feeRepository = feeRepository; _feeRuleRepository = feeRuleRepository; _mapper = mapper; }
public ChequeCommandHandler(IChequeRepository chequeRepository, IBancoRepository bancoRepository, IClienteRepository clienteRepository, IMediatorHandler mediator, IUnitOfWork unitOfWork) : base(mediator, unitOfWork) { _chequeRepository = chequeRepository; _bancoRepository = bancoRepository; _clienteRepository = clienteRepository; }
/// <summary> /// Инициализирует новый экземпляр класса <see cref="Service" /> /// </summary> public Service() { if (Properties.Settings.Default.IsFakeRepository == true) { this.chequeRepository = new FakeChequeRepository(); } else { this.chequeRepository = new ChequeRepository(Properties.Settings.Default.ConnectionString); } }
public ChequeController( IChequeRepository chequeRepository, IReportRenderer reportRenderer, IMailBox mailBox, IIoTHub hub, ICopterRepository copterRepository) { _chequeRepository = chequeRepository; _reportRenderer = reportRenderer; _copterRepository = copterRepository; _mailBox = mailBox; _hub = hub; }
public ChequeService() { var connectionString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; var isFakeImplementation = !bool.TryParse(ConfigurationManager.AppSettings["IsFakeImplementation"], out var result) || result; var loggerFactory = new LoggerFactory(); loggerFactory.AddLog4Net(); if (!isFakeImplementation) { _chequeRepository = new ChequeRepository(new SqlConnection(connectionString), loggerFactory.CreateLogger <IChequeRepository>()); } else { _chequeRepository = new FakeChequeRepository(loggerFactory.CreateLogger <IChequeRepository>()); } }
public ProcessController(IAccountRepository accountRepository, ICustomerRepository customerRepository, ISequenceRepository sequenceRepository, ITellerRepository tellerRepository, ICotRepository cotRepository, IChequeRepository chequeRepository, INominalRepository nominalRepository, ISmsRepository smsRepository, IAccountTypeRepository accounttypeRepository, ILocationRepository locationRepository, ITransactionRepository transactionRepository, IChargeRepository chargeRepository, ISmsApiRepository smsapiRepository, ITransitRepository transitRepository) { _cotRepository = cotRepository; _smsRepository = smsRepository; _chequeRepository = chequeRepository; _chargeRepository = chargeRepository; _tellerRepository = tellerRepository; _transitRepository = transitRepository; _accountRepository = accountRepository; _nominalRepository = nominalRepository; _customerRepository = customerRepository; _locationRepository = locationRepository; _sequenceRepository = sequenceRepository; _accounttypeRepository = accounttypeRepository; _transactionRepository = transactionRepository; }
public ChequesController(IChequeRepository chequesRepository, IUserHelper userHelper) { this.chequesRepository = chequesRepository; this.userHelper = userHelper; }
public ChequeApplicationService(IChequeRepository chequeRepository, IMapper mapper, IMediatorHandler mediator) : base(chequeRepository, mapper, mediator) { }
static ChequeService() { _reposytory = GetRepository(); }
public ChequeService(IChequeRepository repository) { Repository = repository; }
public ChequesController(IChequeRepository chequesRepository, IUserHelper userHerlper, IClienteRepository clienteRepository) { this.chequesRepository = chequesRepository; this.userHerlper = userHerlper; this.clienteRepository = clienteRepository; }
public ChequesController(IChequeRepository chequeRepository, IMapper mapper) { _chequeRepository = chequeRepository; _mapper = mapper; }
public BizServiceNew(IChequeRepository chequeRepo) { this.chequeRepo = chequeRepo; }
public ChequeService(IChequeRepository chequeRepository) : base(chequeRepository) { _chequeRepository = chequeRepository; }
public ChequeController(ILogger <IChequeRepository> logger, IChequeRepository chequeRepository) { _logger = logger; _chequeRepository = chequeRepository; }
//-- END DBContext // ATTRIBUTS //-- CONSTRUCTOR public ChequeController(IChequeRepository _chequeRepository) { this._chequeRepository = _chequeRepository; }
/// <summary> /// Cheque constructor /// </summary> /// <param name="chequeRepository"></param> public ChequeController(IChequeRepository chequeRepository) { _chequeRepository = chequeRepository; }