private void Load() { _messenger.Publish(new LoadingChangedMessage(this, true)); try { List <Pattern> favorites = _favoritesService.All(); foreach (var favorite in favorites) { Items.Add(favorite); } } finally { _messenger.Publish(new LoadingChangedMessage(this, false)); } }