Ejemplo n.º 1
0
 public OrdersController(
     IOrderService orderService,
     IReadOnlyOrderService readOnlyOrderService
     )
 {
     _orderService         = orderService;
     _readOnlyOrderService = readOnlyOrderService;
 }
Ejemplo n.º 2
0
 public ReadOnlyOrderServiceDecorator(IReadOnlyOrderService orderService,
                                      IDbContext dbContext,
                                      ICurrentUserService currentUserService)
 {
     _orderService       = orderService;
     _dbContext          = dbContext;
     _currentUserService = currentUserService;
 }
Ejemplo n.º 3
0
 public GetOrdersQuery(IReadOnlyOrderService orderService, IHttpContextWriter httpContextWriter, IMapper mapper)
 {
     this.orderService      = orderService;
     this.httpContextWriter = httpContextWriter;
     this.mapper            = mapper;
 }
Ejemplo n.º 4
0
 public GetUserOrdersQuery(IReadOnlyOrderService orderService, IMapper mapper)
 {
     this.orderService = orderService;
     this.mapper       = mapper;
 }