[Extension()] public static int IndexOf( IList<UpsellProduct> list, int productId, int upsellProductId )
Parameters
- list
- The list of items to search.
- productId
- The product id to search for.
- upsellProductId
- The upsold product id to search for.
Return Value
Index of the matching entity.