public WishLogic(IWishContext context) { wishRepository = new WishRepository(context); }
public UserController(IUserContext userContext, IWishContext wishContext, IOrderContext orderContext) { userLogic = new UserLogic(userContext); wishLogic = new WishLogic(wishContext); orderLogic = new OrderLogic(orderContext); }
public WishController(IProductContext productContext, IWishContext wishContext) { productLogic = new ProductLogic(productContext); wishLogic = new WishLogic(wishContext); }
public WishRepository(IWishContext context) { Context = context; }