public ProfilController(UserManager <ApplicationUser> userManager, ICategoryService categoryService, IProductService productService, IUsersAndBuyersService usersAndBuyersService, IBuyerService buyerService)
 {
     _usersAndBuyersService = usersAndBuyersService;
     _buyerService          = buyerService;
     _productService        = productService;
     _categoryService       = categoryService;
     _userManager           = userManager;
 }
Beispiel #2
0
 public SepetController(IBuyerService buyerService, IHttpContextAccessor accessor, IUsersAndBuyersService usersAndBuyersService, IOrderService orderService, ICartService cartService, UserManager <ApplicationUser> userManager)
 {
     _cartService           = cartService;
     _userManager           = userManager;
     _orderService          = orderService;
     _usersAndBuyersService = usersAndBuyersService;
     _accessor     = accessor;
     _buyerService = buyerService;
 }
 public HesapController(RoleManager <ApplicationRole> roleManager, ICartService cartService, IEmailSender emailSender, SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, IBuyerService buyerService, IUsersAndBuyersService userAndBuyersService)
 {
     _signInManager        = signInManager;
     _userManager          = userManager;
     _buyerService         = buyerService;
     _userAndBuyersService = userAndBuyersService;
     _emailSender          = emailSender;
     _cartService          = cartService;
     _roleManager          = roleManager;
 }