using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace FrameworkBLL.Notification { public interface INotificationBLL { Task GetNotificationUser(int firstNumber, int maxResult, CriteriaDTO criteriaDTO, LoginDTO loginDTO); Task UpdateNotificationTo(int notificationToId, LoginDTO loginDTO); Task UpdateAllNotification(int userId, LoginDTO loginDTO); Task DeleteAllNotification(int userId, LoginDTO loginDTO); Task DeleteOneNotification(int notificationToId, LoginDTO loginDTO); /// Writes a bell/inbox notification for one or more recipients. Returns the new NotificationId. Task SaveNotification( string message, int fromUserId, int dataId, List toUserIds, LoginDTO loginDTO, CancellationToken cancellationToken = default); } }