public WishesController( IWishService wishService, IWishQueryRepository wishQueryRepository) { this.wishService = wishService; this.wishQueryRepository = wishQueryRepository; }
public WishService( IIndexService <WishModel> indexService, IWishRepository wishRepository, IWishQueryRepository wishQueryRepository, IUserQueryRepository userQueryRepository, IProductQueryRepository productQueryRepository, IUnitOfWork unitOfWork) { this.wishRepository = wishRepository; this.indexService = indexService; this.wishQueryRepository = wishQueryRepository; this.userQueryRepository = userQueryRepository; this.productQueryRepository = productQueryRepository; this.unitOfWork = unitOfWork; }