NotificationRepo.ReadAll Method

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

ReadAll(Int32, Nullable)

Mark all unread notifications for a user as read. Optionally the id of the last viewed notification could be passed in, so that un-viewed notifications aren not marked as read.

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

Parameters

userId
System.Int32
id
System.Nullable{System.Int32}