コード例 #1
0
        public HttpResponseMessage GetGoogleCityByProvinceID(int pid)
        {
            HttpContext.Current.Response.Cache.VaryByHeaders["accept-enconding"] = true;
            var r = locationservice.GetGoogleCityByProvinceID(pid).ToList();

            response = toJson(r);
            request  = HttpContext.Current.Request;
            logservices.logservices(request, response, "dbo", "json", "path", string.Empty, string.Empty, "Provincal", "google", pid.ToString());
            return(response);
        }