NotificationService.ReadAll Method

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

ReadAll(Int32, Nullable)

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
System.Int32
id
System.Nullable{System.Int32}