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