public async Task <T> Get <T>(string url) where T : class
        {
            try
            {
                if (!string.IsNullOrWhiteSpace(url))
                {
                    var result = await HcHelper.GetAsync(url).Result.Content.ReadAsStringAsync();

                    return(_jsonMapper.MapFromJson <T>(result));
                }

                return(default(T));
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message, ex.InnerException);
            }
        }
        protected virtual void Dispose(bool disposing)
        {
            if (!disposed)
            {
                if (disposing)
                {
                    if (_hcHelper != null)
                    {
                        _hcHelper.Dispose();
                    }

                    if (HcHelper != null)
                    {
                        HcHelper.Dispose();
                    }
                }

                disposed = true;
            }
        }