예제 #1
0
 public CartController(ICartService cartService, IProductsSerivce productsService, IMapper mapper)
 {
     this.cartService     = cartService;
     this.productsService = productsService;
     this.mapper          = mapper;
 }
예제 #2
0
 public ProductsController(IProductsSerivce productsService, IMapper mapper)
 {
     this.productsService = productsService;
     this.mapper          = mapper;
 }
예제 #3
0
 public CartService(ApplicationDbContext context, IProductsSerivce productsService, IUsersService usersService)
 {
     this.context         = context;
     this.productsService = productsService;
     this.usersService    = usersService;
 }