This repository has been archived on 2025-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
2020-04-04 14:06:24 -04:00

20 lines
557 B
C#

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);
}
}