Esempio n. 1
0
 public GarmentPurchasingPphBankExpenditureNoteService(IServiceProvider serviceProvider)
 {
     _dbContext                   = serviceProvider.GetService <FinanceDbContext>();
     _identityService             = serviceProvider.GetService <IIdentityService>();
     _serviceProvider             = serviceProvider;
     _serviceDailyBankTransaction = serviceProvider.GetService <IDailyBankTransactionService>();
     _mapper = serviceProvider.GetService <IMapper>();
 }
 public AutoDailyBankTransactionService(IServiceProvider serviceProvider)
 {
     _serviceProvider             = serviceProvider;
     _dailyBankTransactionService = serviceProvider.GetService <IDailyBankTransactionService>();
 }
Esempio n. 3
0
 public AutoDailyBankTransactionService(IServiceProvider serviceProvider)
 {
     _serviceProvider             = serviceProvider;
     _dailyBankTransactionService = serviceProvider.GetService <IDailyBankTransactionService>();
     _dbContext = serviceProvider.GetService <FinanceDbContext>();
 }