Exemple #1
0
        private void _Event_AcceptButton_Clicked(object sender, RoutedEventArgs e)
        {
            if (Model.Value != null)
            {
                ConversationInvitationModel content = Newtonsoft.Json.JsonConvert.DeserializeObject <ConversationInvitationModel>(Model.Value.Content.ToString());

                NotificationService.AcceptInvitationJoinConversation(content.ConversationID, Model.Key, content.FromUserID, content.ToUserID);
            }
            else
            {
                MessageBox.Show("Error");
            }
        }