oqtane.framework/Oqtane.Client/Services/Interfaces/INotificationService.cs
2020-04-03 17:18:33 -04:00

20 lines
568 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using Oqtane.Models;
namespace Oqtane.Services.Interfaces
{
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);
}
}