NotificationService.GetUnread Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

GetUnread(int?, NotificationQuery)

Gets the unread notifications for a user. The notifications are sorted with the most recent notification first.

public static NotificationSearchResult GetUnread(int? userId = default(int? ), NotificationQuery query = null)

Parameters

userId
int?

Id of user for which to get unread notifications, null returns notifications for the current user.

query
NotificationQuery

Query options for paging, sorting etc.

Returns