Méthode | Description | |
---|---|---|
GetEventsForUser ( int userId, int pageNumber ) : NotificationService.Event[] | ||
GetNumberOfUnreadEvents ( int userId ) : int | ||
MarkEventsAsRead ( ) : void | ||
NotificationService ( IEventRepository eventRepository, |
||
WasEventRead ( int eventId, int userId ) : bool |
public GetEventsForUser ( int userId, int pageNumber ) : NotificationService.Event[] | ||
userId | int | |
pageNumber | int | |
Résultat | NotificationService.Event[] |
public GetNumberOfUnreadEvents ( int userId ) : int | ||
userId | int | |
Résultat | int |
public NotificationService ( IEventRepository eventRepository, |
||
eventRepository | IEventRepository | |
paginationSettings | ||
Résultat | Journalist |
public WasEventRead ( int eventId, int userId ) : bool | ||
eventId | int | |
userId | int | |
Résultat | bool |