Ejemplo n.º 1
0
 public BankAccountRepository(IMapper mapper, IDbContextOptionsFactory optionsFactory)
 {
     _context = new GackoDbContext(optionsFactory.Get());
     _mapper  = mapper;
 }
Ejemplo n.º 2
0
 public ExpenseCategoryRepository(IMapper mapper, IDbContextOptionsFactory optionsFactory)
 {
     _context = new GackoDbContext(optionsFactory.Get());
     _mapper  = mapper;
 }
Ejemplo n.º 3
0
 public AppDbContext GetDbContext() => new AppDbContext(_optionsFactory.Get());
Ejemplo n.º 4
0
 public SubscriptionRepository(IMapper mapper, IDbContextOptionsFactory optionsFactory)
 {
     _context = new GackoDbContext(optionsFactory.Get());
     _mapper  = mapper;
 }
Ejemplo n.º 5
0
 public SalesDocumentRepository(IMapper mapper, IDbContextOptionsFactory optionsFactory)
 {
     _context = new GackoDbContext(optionsFactory.Get());
     _mapper  = mapper;
 }