Ejemplo n.º 1
0
        public RestHelperBase(string url, ICacheHelperBase cacheHelper, IConfigHelperBase configHelper)
        {
            CacheHelper  = cacheHelper;
            ConfigHelper = configHelper;

            Client = new RestClient(url);
            Settings();
        }
Ejemplo n.º 2
0
        public RestHelperBase(ICacheHelperBase cacheHelper, IConfigHelperBase configHelper)
        {
            CacheHelper  = cacheHelper;
            ConfigHelper = configHelper;

            Client = new RestClient(ConfigHelper.ApiUrl);
            Settings();
        }