15 lines
621 B
C#
15 lines
621 B
C#
using Fengling.RiskControl.Domain.Aggregates.RiskAlerts;
|
|
|
|
namespace Fengling.RiskControl.Application.Services;
|
|
|
|
public interface IRiskAlertService
|
|
{
|
|
Task<RiskAlert> CreateAlertAsync(long memberId, string alertType, string description,
|
|
RiskAlertPriority priority = RiskAlertPriority.Medium);
|
|
Task<RiskAlert> ResolveAlertAsync(long alertId, string notes);
|
|
Task<RiskAlert> DismissAlertAsync(long alertId, string notes);
|
|
Task<RiskAlert> EscalateAlertAsync(long alertId);
|
|
Task<IEnumerable<RiskAlert>> GetMemberAlertsAsync(long memberId);
|
|
Task<IEnumerable<RiskAlert>> GetPendingAlertsAsync();
|
|
}
|