public HttpResponseMessage sp_getCitiesbyCountry_Result(string IDCountry) { var objdemoentity = new EcoPropiedadEntities(); List <sp_getCitiesbyCountry_Result> obtorercord = objdemoentity.sp_getCitiesbyCountry(IDCountry).ToList(); return(Request.CreateResponse(HttpStatusCode.OK, obtorercord.ToList())); }