public string GetPhone(string queryStr) { ChartData chartData = new ChartData(); ImportService impSrv = new ImportService(); impSrv.GetPhone(chartData, queryStr); impSrv.CorrectChartData(chartData); var jsonStr = JsonConvert.SerializeObject(chartData); return(jsonStr); }