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