public SavingRepository(IConnectionFactory connectionFactory) { _connectionFactory = connectionFactory; _bankRepository = new BankRepository(_connectionFactory); _contragentRepository = new ContragentRepository(_connectionFactory); _accountRepository = new AccountRepository(_connectionFactory); }
public ContragentQueryHandler(IUnitOfWork unitOfWork, IServiceBus bus, IContragentRepository contragentRepository, IMapper mapper) { _UnitOfWork = unitOfWork; _Bus = bus; _ContragentRepository = contragentRepository; _Mapper = mapper; }
public ContragentsController(IContragentRepository contragentRepository) { _contragentRepository = contragentRepository; }