notification service and user management improvements
This commit is contained in:
19
Oqtane.Client/Services/Interfaces/INotificationService.cs
Normal file
19
Oqtane.Client/Services/Interfaces/INotificationService.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using Oqtane.Models;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Oqtane.Services
|
||||
{
|
||||
public interface INotificationService
|
||||
{
|
||||
Task<List<Notification>> GetNotificationsAsync(int SiteId, string Direction, int UserId);
|
||||
|
||||
Task<Notification> GetNotificationAsync(int NotificationId);
|
||||
|
||||
Task<Notification> AddNotificationAsync(Notification Notification);
|
||||
|
||||
Task<Notification> UpdateNotificationAsync(Notification Notification);
|
||||
|
||||
Task DeleteNotificationAsync(int NotificationId);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user