NotificationService.ReadAll Method

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

ReadAll(int, int?)

Sets the read status to true for all the users notifications. Optionally the id of the last viewed notification could be passed in, so that not viewed notifications are not marked as read.

public static void ReadAll(int userId, int? id = default(int? ))

Parameters

userId
int

Id of user.

id
int?

Id of the last viewed notification