Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ParameterizationsRepository"/> class.
 /// </summary>
 /// <param name="bankingDbContext">
 /// The banking database context.
 /// </param>
 /// <param name="humanRepository">
 /// The human Repository.
 /// </param>
 /// <param name="accountRepository">
 /// The account Repository.
 /// </param>
 /// <param name="cacheProvider">
 /// The cache Provider.
 /// </param>
 public ParameterizationsRepository(BankingDbContext bankingDbContext, IHumanRepository humanRepository, IAccountRepository accountRepository, Domain.ICacheProvider cacheProvider)
 {
     this.context           = bankingDbContext;
     this.humanRepository   = humanRepository;
     this.cacheProvider     = cacheProvider;
     this.accountRepository = accountRepository;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AccountRepository"/> class.
 /// </summary>
 /// <param name="bankingDbContext">
 /// The banking database context.
 /// </param>
 /// <param name="humanRepository">
 /// The human repository.
 /// </param>
 /// <param name="cacheProvider">
 /// The cache Provider.
 /// </param>
 public AccountRepository(BankingDbContext bankingDbContext, IHumanRepository humanRepository, Domain.ICacheProvider cacheProvider)
 {
     this.context         = bankingDbContext;
     this.humanRepository = humanRepository;
     this.cacheProvider   = cacheProvider;
 }