erp-platform/api/modules/Erp.Notifications/Erp.Notifications.Application.Contracts/NotificationRules/INotificationRuleAppService.cs
2025-11-11 22:49:52 +03:00

22 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 Erp.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);
}