Esempio n. 1
0
        public HttpResponseMessage GetCityByCid(int cid, string token)
        {
            HttpContext.Current.Response.Cache.VaryByHeaders["accept-enconding"] = true;
            var r = citysercice.GetCityByCid(cid, token);

            response = toJson(r);
            request  = HttpContext.Current.Request;
            logservices.logservices(request, response, "dbo", "json", "path", string.Empty, token, "this", "city", cid.ToString());

            return(response);
        }