public static IProductSnapshot AsVendrProduct(this IProductComp content) { return(VendrApi.Instance.GetProduct(content.GetProductReference())); }
public static IProductSnapshot AsVendrProduct(this IProductComp variant, IProductComp parent) { return(VendrApi.Instance.GetProduct(parent.GetProductReference(), variant.GetProductReference(), Thread.CurrentThread.CurrentCulture.Name)); }