INotificationAppServiceBase.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using Abp.Application.Services;
  2. using Abp.Application.Services.Dto;
  3. using Abp.Notifications;
  4. using VberZero.AppService.Notifications.Dto;
  5. using VberZero.AppService.Base.Dto;
  6. namespace VberZero.AppService.Notifications;
  7. public interface INotificationAppServiceBase : IApplicationService
  8. {
  9. Task<UserNotification> GetUserNotificationById(Guid id);
  10. Task<PagedResultDto<UserNotification>> GetAll(VzPagedRequestDto input);
  11. Task<GetNotificationsOutput> GetUserNotifications(GetUserNotificationsInput input);
  12. Task SetAllNotificationsAsRead();
  13. Task SetNotificationAsRead(EntityDto<Guid> input);
  14. Task SendSysMessage(MsgDto input);
  15. Task SendSysNotification(MsgDto input);
  16. Task<NotificationSettingsDto> GetNotificationSettings();
  17. Task UpdateNotificationSetting(NotificationSubscriptionDto input);
  18. Task UpdateNotificationSettings(UpdateNotificationSettingsInput input);
  19. Task DeleteNotification(EntityDto<Guid> input);
  20. Task DeleteAllUserNotifications(DeleteAllUserNotificationsInput input);
  21. }