Example #1
0
        public HttpResponseMessage sp_getCountNotificationsUnread_Result(int idUser)
        {
            var objdemoentity = new EcoPropiedadEntities();

            List <sp_getCountNotificationsUnread_Result> obtorercord = objdemoentity.sp_getCountNotificationsUnread(idUser).ToList();

            return(Request.CreateResponse(HttpStatusCode.OK, obtorercord.ToList()));
        }