public void DeletePersonaxRol([FromBody] int cedula) { PersonaxRolService con = new PersonaxRolService(); con.DeletePersonaxRol(cedula); }
public IHttpActionResult GetPersonaxRolId(int cedula) { PersonaxRolService con = new PersonaxRolService(); return(Ok(con.GetPersonaxRolId(cedula))); }
public IHttpActionResult GetPersonaxRol(int id) { PersonaxRolService con = new PersonaxRolService(); return(Ok(con.GetPersonaxRol(id))); }
public void UpdatePersonaxRol([FromBody] PersonaxRol pxr) { PersonaxRolService con = new PersonaxRolService(); con.UpdatePersonaxRol(pxr); }
public void PostPersona([FromBody] PersonaxRol persona) { PersonaxRolService con = new PersonaxRolService(); con.PostPersonaxRol(persona); }
public IHttpActionResult GetAllPersonas() { PersonaxRolService con = new PersonaxRolService(); return(Ok(con.GetAllPersonasxRol())); }