21 lines
660 B
C#
21 lines
660 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp.Application.Dtos;
|
|
using Volo.Abp.Application.Services;
|
|
|
|
namespace Kurs.Notifications.NotificationRules;
|
|
|
|
public interface INotificationRuleAppService : ICrudAppService<
|
|
NotificationRuleDto,
|
|
Guid,
|
|
PagedAndSortedResultRequestDto,
|
|
CreateUpdateNotificationRuleDto>
|
|
{
|
|
string[] GetNotificationTypes();
|
|
Task<string[]> GetMyNotificationTypesAsync();
|
|
Task<List<NotificationRuleDto>> GetMyNotificationRules();
|
|
Task PostMyNotificationRule(CreateUpdateNotificationRuleDto Input);
|
|
Task DeleteMyNotificationRules(string NotificationType);
|
|
|
|
}
|