Ejemplo n.º 1
0
 public SaveTransactionDecorator(ICqsDbContext dbContext,
                                 ILogger logger,
                                 ICommandHandler <TCommand> decorated)
 {
     _dbContext = dbContext;
     _logger    = logger;
     _decorated = decorated;
 }
Ejemplo n.º 2
0
 public CreateOrderCommandHandler(ICqsDbContext dbContext, IQueryProcessor queryProcessor, ILogger logger)
 {
     _dbContext      = dbContext;
     _queryProcessor = queryProcessor;
     _logger         = logger;
 }
 public FindOrderByIdQueryHandler(ICqsDbContext dbContext)
 {
     _dbContext = dbContext;
 }
 public FindOrderLinesByIdsQueryHandler(ICqsDbContext dbContext)
 {
     _dbContext = dbContext;
 }