/// <summary> /// Retrieves a <see cref="InvoiceDisplay"/> from the Merchello Invoice index. /// </summary> /// <param name="key"> /// The key. /// </param> /// <returns> /// The <see cref="InvoiceDisplay"/>. /// </returns> public InvoiceDisplay Invoice(string key) { return(InvoiceQuery.GetByKey(key)); }
/// <summary> /// Retrieves a <see cref="InvoiceDisplay"/> from the Merchello Invoice index. /// </summary> /// <param name="key"> /// The key. /// </param> /// <returns> /// The <see cref="InvoiceDisplay"/>. /// </returns> public InvoiceDisplay Invoice(Guid key) { return(InvoiceQuery.GetByKey(key)); }