Atomia.Web.Plugin.PublicOrder.Helpers.ResellerHelper.GetResellerCountryCode C# (CSharp) Метод

GetResellerCountryCode() публичный статический Метод

Gets the reseller country code.
public static GetResellerCountryCode ( ) : string
Результат string
        public static string GetResellerCountryCode()
        {
            if (HttpContext.Current.Session["resellerAccountData"] != null)
            {
                return ((AccountData)HttpContext.Current.Session["resellerAccountData"]).DefaultCountry.Code;
            }

            throw new ApplicationException("Reseller not found.");
        }