Exemplo n.º 1
0
 public OrderController(
     IOrderRepository orderRepository,
     UserManager <ApplicationUser> userManager,
     IFraudProtectionService fraudProtectionService,
     IUriComposer uriComposer)
 {
     _orderRepository        = orderRepository;
     _userManager            = userManager;
     _fraudProtectionService = fraudProtectionService;
     _uriComposer            = uriComposer;
 }
Exemplo n.º 2
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IBasketService basketService,
     IFraudProtectionService fraudProtectionService,
     IHttpContextAccessor contextAccessor)
 {
     _userManager            = userManager;
     _signInManager          = signInManager;
     _basketService          = basketService;
     _fraudProtectionService = fraudProtectionService;
     _contextAccessor        = contextAccessor;
 }
Exemplo n.º 3
0
 public ManageController(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     IAppLogger <ManageController> logger,
     IFraudProtectionService fraudProtectionService,
     IHttpContextAccessor contextAccessor)
 {
     _userManager            = userManager;
     _signInManager          = signInManager;
     _logger                 = logger;
     _fraudProtectionService = fraudProtectionService;
     _contextAccessor        = contextAccessor;
 }
Exemplo n.º 4
0
 public BasketController(IBasketService basketService,
                         IBasketViewModelService basketViewModelService,
                         IOrderService orderService,
                         SignInManager <ApplicationUser> signInManager,
                         IFraudProtectionService fraudProtectionService,
                         IHttpContextAccessor contextAccessor,
                         UserManager <ApplicationUser> userManager)
 {
     _basketService          = basketService;
     _signInManager          = signInManager;
     _orderService           = orderService;
     _basketViewModelService = basketViewModelService;
     _fraudProtectionService = fraudProtectionService;
     _contextAccessor        = contextAccessor;
     _userManager            = userManager;
 }