public OrderController(IOrderingRepository orderRepository,
                        IOrderingQuery orderingQuery, IRequestProcessor commandExecutor)
 {
     _orderingQuery   = orderingQuery;
     _commandExecutor = commandExecutor;
     _orderRepository = orderRepository;
 }
Exemple #2
0
 public OrderController(IOrderingRepository orderRepository,
                        IOrderingQuery orderingQuery, IMediator commandExecutor, OrderingContext dbContext,
                        IUnitOfWork unitOfWorkManager)
 {
     _orderingQuery     = orderingQuery;
     _cqrsProcessor     = commandExecutor;
     _dbContext         = dbContext;
     _unitOfWorkManager = unitOfWorkManager;
     _orderRepository   = orderRepository;
 }
Exemple #3
0
 public OrderController(IOrderingRepository orderRepository,
                        IOrderingQuery orderingQuery)
 {
     _orderingQuery   = orderingQuery;
     _orderRepository = orderRepository;
 }