12 lines
343 B
C#
12 lines
343 B
C#
using BankSampahApp.Models;
|
|
|
|
namespace BankSampahApp.Services;
|
|
|
|
public interface INotificationService
|
|
{
|
|
Task<IReadOnlyList<NotificationItem>> GetNotificationsAsync(NotificationCategory? category = null);
|
|
NotificationItem? GetById(int id);
|
|
Task<bool> UpdateReadStateAsync(int id, bool isRead);
|
|
Task<bool> DeleteAsync(int id);
|
|
}
|