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