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); } }
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); } }