private void OnRemoved(Authorization.Role left, Authorization.Principal right) { using (log.Activity(m => m($"Execute {nameof(OnRemoved)} for {nameof(Authorization.Role)}[{left.Id}] and {nameof(Authorization.Principal)}[{right.Id}]"))) { OnRemoved(right, left); } }
private void OnAdded(Authorization.Principal left, Authorization.Role right) { using (log.Activity(m => m($"Execute {nameof(OnAdded)} for {nameof(Authorization.Principal)}[{left.Id}] and {nameof(Authorization.Role)}[{right.Id}]"))) { OnPrincipalRolesChanged(left.Name); } }