public void ProcessMemberGroupDeleting(IMemberGroupService sender, DeleteEventArgs <IMemberGroup> e) { foreach (var group in e.DeletedEntities) { _permissionsService.DeletePermissionsForMemberGroup(group.Id); } _intranetMemberGroupService.ClearCache(); }