
Fixed Version to Tenant.04.00.01.01 and reverted the Program.cs back to the way it was
This reverts commit 82fef82c4f
.
[ENHANCE] - Added API to get Count of New Notifications based on IsRead
Fixed Typo in Notification Controller
[ENHANCE] - Added API to get Notifications by Count and IsRead
19 lines
817 B
C#
19 lines
817 B
C#
using System.Collections.Generic;
|
|
using Oqtane.Models;
|
|
|
|
namespace Oqtane.Repository
|
|
{
|
|
public interface INotificationRepository
|
|
{
|
|
IEnumerable<Notification> GetNotifications(int siteId, int fromUserId, int toUserId);
|
|
IEnumerable<Notification> GetNotifications(int siteId, int fromUserId, int toUserId, int count, bool isRead);
|
|
int GetNotificationCount(int siteId, int fromUserId, int toUserId, bool isRead);
|
|
Notification AddNotification(Notification notification);
|
|
Notification UpdateNotification(Notification notification);
|
|
Notification GetNotification(int notificationId);
|
|
Notification GetNotification(int notificationId, bool tracking);
|
|
void DeleteNotification(int notificationId);
|
|
int DeleteNotifications(int siteId, int age);
|
|
}
|
|
}
|