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