public BankAccountRepository(IMapper mapper, IDbContextOptionsFactory optionsFactory) { _context = new GackoDbContext(optionsFactory.Get()); _mapper = mapper; }
public ExpenseCategoryRepository(IMapper mapper, IDbContextOptionsFactory optionsFactory) { _context = new GackoDbContext(optionsFactory.Get()); _mapper = mapper; }
public AppDbContext GetDbContext() => new AppDbContext(_optionsFactory.Get());
public SubscriptionRepository(IMapper mapper, IDbContextOptionsFactory optionsFactory) { _context = new GackoDbContext(optionsFactory.Get()); _mapper = mapper; }
public SalesDocumentRepository(IMapper mapper, IDbContextOptionsFactory optionsFactory) { _context = new GackoDbContext(optionsFactory.Get()); _mapper = mapper; }