private FundamentalETF GetFundamentalETFFromResponse(HttpResponseMessage response) { return(FundamentalETF.FromJson(response.Content.ReadAsStringAsync().Result)); }
public static string ToJson(this FundamentalETF self) => JsonConvert.SerializeObject(self, EODHistoricalData.NET.ConverterFundamentalETF.Settings);
private async Task <FundamentalETF> GetFundamentalETFFromResponseAsync(HttpResponseMessage response) { return(FundamentalETF.FromJson(await response.Content.ReadAsStringAsync())); }