public virtual async Task SendNofiterAsync(NotificationSendDto input)
        {
            UserIdentifier user = null;

            if (input.ToUserId.HasValue)
            {
                user = new UserIdentifier(input.ToUserId.Value, input.ToUserName);
            }
            await NotificationSender
            .SendNofiterAsync(
                input.Name,
                input.Data,
                user,
                CurrentTenant.Id,
                input.Severity);
        }
Example #2
0
 public virtual async Task SendAsync(NotificationSendDto input)
 {
     await NotificationAppService.SendAsync(input);
 }