Example #1
0
 /// <summary>
 /// Retrieves a <see cref="ProductDisplay"/> from the Merchello Product index.
 /// </summary>
 /// <param name="key">
 /// The key.
 /// </param>
 /// <returns>
 /// The <see cref="ProductDisplay"/>.
 /// </returns>
 public ProductDisplay Product(Guid key)
 {
     return(ProductQuery.GetByKey(key));
 }
Example #2
0
 /// <summary>
 /// Retrieves a <see cref="ProductDisplay"/> from the Merchello Product index.
 /// </summary>
 /// <param name="key">
 /// The key.
 /// </param>
 /// <returns>
 /// The <see cref="ProductDisplay"/>.
 /// </returns>
 public ProductDisplay Product(string key)
 {
     return(ProductQuery.GetByKey(key));
 }