예제 #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;
 }
예제 #3
0
 public RegisterController(
     UserManager <SiteUser> userManager, IMapper mapper, ICustomerRestService customerService,
     SignInManager <SiteUser> signInManager, AnoymousIdHandler anonHandler)
     : base(userManager)
 {
     this.mapper          = mapper;
     this.customerService = customerService;
     this.signInManager   = signInManager;
     this.anonHandler     = anonHandler;
     this.userManager     = userManager;
 }
예제 #4
0
 public BillingViewComponent(IOrderRestService orderService, ICustomerRestService customerService, IMapper mapper)
 {
     this.orderService    = orderService;
     this.customerService = customerService;
     this.mapper          = mapper;
 }