Exemplo n.º 1
0
 public OrdersController(UserManager <SiteUser> userManager,
                         ICustomerRestService customerService, IOrderRestService orderService, IMapper mapper
                         ) : base(userManager)
 {
     this.customerService = customerService;
     this.orderService    = orderService;
     this.mapper          = mapper;
 }
 public PurchaseController(ICustomerRestService customerService, ILoggerFactory loggerFactory
                           , IOrderRestService orderService, IMapper mapper, IShoppingCartService shoppingCartService,
                           UserManager <SiteUser> userManager)
     : base(userManager)
 {
     this.customerService     = customerService;
     this.logger              = loggerFactory.CreateLogger <PurchaseController>();
     this.orderService        = orderService;
     this.mapper              = mapper;
     this.shoppingCartService = shoppingCartService;
 }
 public OrderPurchaseViewComponent(IOrderRestService restClient, RoutingConfig routingConfig, IMapper mapper)
 {
     this.restClient    = restClient;
     this.routingConfig = routingConfig;
     this.mapper        = mapper;
 }
Exemplo n.º 4
0
 public BillingViewComponent(IOrderRestService orderService, ICustomerRestService customerService, IMapper mapper)
 {
     this.orderService    = orderService;
     this.customerService = customerService;
     this.mapper          = mapper;
 }