Beispiel #1
0
        private async void DismissContentNotifyMethod(NotifyItem notifyItem)
        {
            if (null == _notify)
            {
                return;
            }

            var result = await _notify.DismissContentNotifyAsync(LoginUser.Current.Token, notifyItem.Id);

            if (result.Error != null)
            {
                ToasteIndicator.Instance.Show(String.Empty, result.Error.Message, null, 3);
                return;
            }

            notifyItem.IsRead = result.Result.IsRead;
        }