INotificationAppService.cs 903 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Threading.Tasks;
  3. using Abp.Application.Services;
  4. using Abp.Application.Services.Dto;
  5. using Abp.Notifications;
  6. using WeApp.BaseSystem.Notifications.Dto;
  7. using IwbZero.AppServiceBase;
  8. namespace WeApp.BaseSystem.Notifications
  9. {
  10. public interface INotificationAppService : IApplicationService
  11. {
  12. Task<PagedResultDto<UserNotification>> GetAll(IwbPagedRequestDto input);
  13. Task<GetNotificationsOutput> GetUserNotifications(GetUserNotificationsInput input);
  14. Task SetAllNotificationsAsRead();
  15. Task SetNotificationAsRead(EntityDto<Guid> input);
  16. Task<GetNotificationSettingsOutput> GetNotificationSettings();
  17. Task UpdateNotificationSettings(UpdateNotificationSettingsInput input);
  18. Task DeleteNotification(EntityDto<Guid> input);
  19. Task DeleteAllUserNotifications(DeleteAllUserNotificationsInput input);
  20. }
  21. }