Esempio n. 1
0
 protected override void OnDestroy()
 {
     MessagesViewModel.UnsubscribeMessages(this);
     Task.Run(async() =>
              await MessagesViewModel.MarkAllMessagesAsRead());
     base.OnDestroy();
 }
 protected override void OnDestroy()
 {
     MessagesViewModel.UnsubscribeMessages(this);
     MessagesViewModel.MarkAllMessagesAsRead();
     base.OnDestroy();
 }