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