예제 #1
0
        public void DeletePersonaxRol([FromBody] int cedula)
        {
            PersonaxRolService con = new PersonaxRolService();

            con.DeletePersonaxRol(cedula);
        }
예제 #2
0
        public IHttpActionResult GetPersonaxRolId(int cedula)
        {
            PersonaxRolService con = new PersonaxRolService();

            return(Ok(con.GetPersonaxRolId(cedula)));
        }
예제 #3
0
        public IHttpActionResult GetPersonaxRol(int id)
        {
            PersonaxRolService con = new PersonaxRolService();

            return(Ok(con.GetPersonaxRol(id)));
        }
예제 #4
0
        public void UpdatePersonaxRol([FromBody] PersonaxRol pxr)
        {
            PersonaxRolService con = new PersonaxRolService();

            con.UpdatePersonaxRol(pxr);
        }
예제 #5
0
        public void PostPersona([FromBody] PersonaxRol persona)
        {
            PersonaxRolService con = new PersonaxRolService();

            con.PostPersonaxRol(persona);
        }
예제 #6
0
        public IHttpActionResult GetAllPersonas()
        {
            PersonaxRolService con = new PersonaxRolService();

            return(Ok(con.GetAllPersonasxRol()));
        }