예제 #1
0
 public WishController(IProductContext productContext, IWishContext wishContext)
 {
     productLogic = new ProductLogic(productContext);
     wishLogic    = new WishLogic(wishContext);
 }
예제 #2
0
 public UserController(IUserContext userContext, IWishContext wishContext, IOrderContext orderContext)
 {
     userLogic  = new UserLogic(userContext);
     wishLogic  = new WishLogic(wishContext);
     orderLogic = new OrderLogic(orderContext);
 }