Exemplo n.º 1
0
        public HttpResponseMessage sp_setReservations_Result(int IDPlace, int IDUSer, DateTime dateReserved, DateTime dateEvent, string reason, int numberPeople, string time, string notes)
        {
            var objdemoentity = new EcoPropiedadEntities();

            List <sp_setReservations_Result> obtorercord = objdemoentity.sp_setReservations(IDPlace, IDUSer, dateReserved, dateEvent, reason, numberPeople, time, notes).ToList();

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