コード例 #1
0
        public int Delete(int idReunion)
        {
            OperReunionIm oper = new OperReunionIm();
            int           n    = oper.eliminar(idReunion);

            return(n);
        }
コード例 #2
0
        // PUT: api/Reunion/5
        public int Put(int id, [FromBody] Reunion r)
        {
            OperReunionIm oper = new OperReunionIm();
            int           n    = oper.actualizar(id, r);

            return(n);
        }
コード例 #3
0
        public IEnumerable <Reunion> GET(int id)
        {
            System.Diagnostics.Debug.WriteLine(id);
            OperReunionIm oper = new OperReunionIm();

            return(oper.listar());
        }
コード例 #4
0
        public int crearReunion([FromBody] Reunion r)
        {
            OperReunionIm oper = new OperReunionIm();
            int           n    = oper.crear(r);

            System.Diagnostics.Debug.WriteLine(n);
            return(n);
        }
コード例 #5
0
        // GET: api/Reunion/5
        public Reunion Get(int id)
        {
            OperReunionIm oper = new OperReunionIm();

            return(oper.consultar(id));
        }
コード例 #6
0
        public IEnumerable <Reunion> GETReunionesUsuario(int idOwner)
        {
            OperReunionIm oper = new OperReunionIm();

            return(oper.listarReunionesUsuario(idOwner));
        }