protected ProductCatalogBaseController(ICookieAuthentication cookieAuthentication,
                                        ICustomerService customerService,
                                        ICachedProductCatalogService cachedProductCatalogService) : base(cookieAuthentication,
                                                                                                         customerService)
 {
     _cachedProductCatalogService = cachedProductCatalogService;
 }
Esempio n. 2
0
 public IdentityService(ICustomHttpClient customHttpClient, ICookieAuthentication cookieAuthentication,
                        IHttpContextAccessor httpContextAccessor)
 {
     baseUrl                   = "http://host.docker.internal:5000/api/identity/";
     sessionId                 = httpContextAccessor.HttpContext.Session.Id;
     this.customHttpClient     = customHttpClient;
     this.cookieAuthentication = cookieAuthentication;
 }
Esempio n. 3
0
 public AccountRegisterController(ILocalAuthenticationService authenticationService,
                                  ICustomerService customerService,
                                  ICookieAuthentication cookieAuthentication,
                                  IActionArguments actionArguments) : base(authenticationService,
                                                                           customerService,
                                                                           cookieAuthentication,
                                                                           actionArguments)
 {
 }
Esempio n. 4
0
 public BasketController(ICachedProductCatalogService cachedProductCatalogService,
                         IBasketService basketService,
                         ICookieAuthentication cookieAuthentication,
                         ICustomerService customerService) : base(cookieAuthentication,
                                                                  customerService,
                                                                  cachedProductCatalogService)
 {
     _basketService = basketService;
 }
Esempio n. 5
0
 public ProductController(ICookieStorageService cookieStorageService,
                          IConfiguration configuration,
                          ICookieAuthentication cookieAuthentication,
                          ICustomerService customerService,
                          ICachedProductCatalogService cachedProductCatalogService) : base(cookieAuthentication,
                                                                                           customerService,
                                                                                           cachedProductCatalogService)
 {
     _configuration = configuration;
 }
Esempio n. 6
0
 protected BaseAccountController(ILocalAuthenticationService authenticationService,
                                 ICustomerService customerService,
                                 ICookieAuthentication cookieAuthentication,
                                 IActionArguments actionArguments)
 {
     _authenticationService = authenticationService;
     _customerService       = customerService;
     _cookieAuthentication  = cookieAuthentication;
     _actionArguments       = actionArguments;
 }
Esempio n. 7
0
 public CheckoutController(ICookieStorageService cookieStorageService,
                           IBasketService basketService,
                           ICustomerService customerService,
                           IOrderService orderService,
                           ICookieAuthentication cookieAuthentication) : base(cookieAuthentication,
                                                                              customerService)
 {
     _basketService = basketService;
     _orderService  = orderService;
 }
Esempio n. 8
0
 public PaymentController(IPaymentService paymentService,
                          IOrderService orderService,
                          IMapper mapper,
                          ILogger <PaymentController> logger,
                          ICookieAuthentication cookieAuthentication)
 {
     _paymentService       = paymentService;
     _orderService         = orderService;
     _mapper               = mapper;
     _logger               = logger;
     _cookieAuthentication = cookieAuthentication;
 }
Esempio n. 9
0
 public CustomerController(ICustomerService customerService,
                           ICookieAuthentication cookieAuthentication) : base(cookieAuthentication,
                                                                              customerService)
 {
 }
Esempio n. 10
0
 protected BaseController(ICookieAuthentication cookieAuthentication,
                          ICustomerService customerService)
 {
     _cookieAuthentication = cookieAuthentication;
     _customerService      = customerService;
 }