コード例 #1
0
        public SavingRepository(IConnectionFactory connectionFactory)
        {
            _connectionFactory = connectionFactory;

            _bankRepository       = new BankRepository(_connectionFactory);
            _contragentRepository = new ContragentRepository(_connectionFactory);
            _accountRepository    = new AccountRepository(_connectionFactory);
        }
コード例 #2
0
 public ContragentQueryHandler(IUnitOfWork unitOfWork,
                               IServiceBus bus,
                               IContragentRepository contragentRepository,
                               IMapper mapper)
 {
     _UnitOfWork           = unitOfWork;
     _Bus                  = bus;
     _ContragentRepository = contragentRepository;
     _Mapper               = mapper;
 }
コード例 #3
0
 public ContragentsController(IContragentRepository contragentRepository)
 {
     _contragentRepository = contragentRepository;
 }