예제 #1
0
 public FileImportService(
     DiBiContext context, Func <FileType, IFileService> importServiceResolver,
     IValidationService <TransactionModel> validationService,
     ILogger <FileImportService> logger)
 {
     _context = context;
     _importServiceResolver = importServiceResolver;
     _validationService     = validationService;
     _logger = logger;
 }
예제 #2
0
        public TransactionController(ITransactionService transactionService, DiBiContext context)
        {
            _transactionService = transactionService;

            _context = context;
        }
예제 #3
0
        public TransactionService(DiBiContext context)
        {
            _context = context;

            _context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
        }