Example #1
0
    public Task AcknowledgeNotifications(Guid[] notificationIds)
    {
        IQueryable <NotificationBase> notifications = _service.GetNotifications(notificationIds).Where(n => n.AccountId == uint.Parse(Context.UserIdentifier));

        _service.AcknowledgeNotifications(notifications);
        return(Task.CompletedTask);
    }