Пример #1
0
 public BalanceSheetService(
     ILoggerFactory loggerFactory,
     Entities.FinancierDbContext dbContext)
 {
     m_logger    = loggerFactory.CreateLogger <BalanceSheetService>();
     m_dbContext = dbContext;
 }
Пример #2
0
 public ExpensesController(ILoggerFactory loggerFactory, Entities.FinancierDbContext dbContext)
 {
     m_logger    = loggerFactory.CreateLogger <ExpensesController>();
     m_dbContext = dbContext;
 }
Пример #3
0
 public void Add(Entities.FinancierDbContext dbContext, Entities.Account accountEntity)
 {
     dbContext.Accounts.Add(accountEntity);
     dbContext.SaveChanges();
 }
Пример #4
0
 public TransactionService(ILoggerFactory loggerFactory, Entities.FinancierDbContext dbContext)
 {
     m_logger    = loggerFactory.CreateLogger <TransactionService>();
     m_dbContext = dbContext;
 }
Пример #5
0
 public CurrencyService(ILoggerFactory loggerFactory, Entities.FinancierDbContext dbContext)
 {
     m_logger    = loggerFactory.CreateLogger <CurrencyService>();
     m_dbContext = dbContext;
 }
Пример #6
0
 public AccountService(ILoggerFactory loggerFactory, Entities.FinancierDbContext dbContext)
 {
     m_logger    = loggerFactory.CreateLogger <AccountService>();
     m_dbContext = dbContext;
 }
Пример #7
0
 public CreditCardController(ILoggerFactory loggerFactory, Entities.FinancierDbContext dbContext)
 {
     m_logger    = loggerFactory.CreateLogger <CreditCardController>();
     m_dbContext = dbContext;
 }