Exemplo n.º 1
0
 public DealerController(IDealerService dealerService
                         , IProdctService prodctService,
                         ICategoryService categoryService
                         , UserManager <AppUser> userManager
                         , SignInManager <AppUser> signInManager
                         )
 {
     this.dealerService   = dealerService;
     this.prodctService   = prodctService;
     this.categoryService = categoryService;
     this.userManager     = userManager;
     this.signInManager   = signInManager;
 }
 public LastProductsViewComponent(IProdctService productServic)
 {
     this.productServic = productServic;
 }
Exemplo n.º 3
0
 public CartController(IProdctService prodctService, Cart cart)
 {
     this.prodctService = prodctService;
     this.cart          = cart;
 }
Exemplo n.º 4
0
 public ProductController(IProdctService productService)
 {
     this.productService = productService;
 }
Exemplo n.º 5
0
 public HomeController(IProdctService productService
                       , IHttpContextAccessor httpContextAccessor)
 {
     this.productService      = productService;
     this.httpContextAccessor = httpContextAccessor;
 }