//dialog vensters private void OnMessageReceived(UpdateFinishedMessage message) { if (message.Type == UpdateFinishedMessage.MessageType.Updated) { _dialogService.CloseCategorieDetailDialog(); } if (message.Type == UpdateFinishedMessage.MessageType.Deleted || message.Type == UpdateFinishedMessage.MessageType.Inserted) { CategorieDataService cds = new CategorieDataService(); Categories = cds.GetCategories(); _dialogService.CloseCategorieDetailDialog(); } }