Exemplo n.º 1
0
 /// <summary>
 /// Gets the country regions for a specific store. Specify a <paramref name="countryId"/> to only get country regions for this country.
 /// </summary>
 /// <param name="storeId">Id of the store.</param>
 /// <param name="countryId">Id of the country.</param>
 /// <returns>A collection of country region objects.</returns>
 public static IEnumerable <CountryRegion> GetCountryRegions(long storeId, long?countryId = null)
 {
     return(TeaCommerceHelper.GetCountryRegions(storeId, countryId));
 }