public HttpResponseMessage GetBarData(string tableName, string colName, string zoneName, string type, int year)
        {
            JavaScriptSerializer serializer = new JavaScriptSerializer();
            string str = serializer.Serialize(s.GetBarData(tableName, colName, zoneName, type, year));
            HttpResponseMessage result = new HttpResponseMessage {
                Content = new StringContent(str, Encoding.GetEncoding("UTF-8"), "application/json")
            };

            return(result);
        }