public HttpResponseMessage GetCityByProvince(int pid, string token) { HttpContext.Current.Response.Cache.VaryByHeaders["accept-enconding"] = true; var r = citysercice.GetCityByProvince(pid, token).ToList(); response = toJson(r); request = HttpContext.Current.Request; logservices.logservices(request, response, "dbo", "json", "path", string.Empty, token, "Provincal", "city", pid.ToString()); return(response); }