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