Example #1
0
        public bool CheckContains(long productId, string userId)
        {
            var res = _wishlistRepository.CheckContains(x => x.ProductId == productId && x.UserId == userId);

            if (res)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }