public async Task <ActionResult <bool> > Delete(int permisoId) { try { return(await _permisoService.Delete(permisoId)); } catch { return(NotFound()); } }
public bool Eliminar(int ID) { return(Permisoservice.Delete(ID)); }