public override Task <T> ReadData() { Configuration configManager = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); KeyValueConfigurationCollection confCollection = configManager.AppSettings.Settings; string app_id = confCollection["app_id"].Value; string package = confCollection["latestJson"].Value; string baseURL = confCollection["openExchangeBasicUrl"].Value; string url = string.Format("{0}{1}?app_id={2}", baseURL, package, app_id); Task <T> result = HttpRequester.GetData <T>(url); return(result); }