示例#1
0
        public void GetUnNoticedNotifications()
        {
            int userId   = (CurrentUserId == 0) ? 1 : CurrentUserId;
            var callTask = _client.GetSupervisorNotificationsByUserIdAsync(userId);

            var obs = callTask.ToObservable();

            obs.Subscribe((x) => AddUnNoticedNotification(x));
        }