NotificationRepo.Cleanup Method

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

Cleanup(int)

Permanently deletes old Notification objects from the repository.

public static int Cleanup(int days)

Parameters

days
int

Delete notifications that were read this many days ago.

Returns

int