public void ReadNotification([FromBody] ReadNotificationRequest request) { LogsDataManager.SendLog( request.PatronId, "Patron", "read notification with id " + request.Id); NotificationsDataManager.ReadNotification(request.Id); }
public Notification[] GetNotifications(long patronId) { return(NotificationsDataManager.GetNotificationsByPatron(patronId)); }