public async Task NotifyCommentReplyAsync(CommentReplyPayload payload) { try { await SendAsync(new NotificationRequest <CommentReplyPayload>(MailMesageTypes.AdminReplyNotification, payload)); } catch (Exception e) { _logger.LogError(e, e.Message); } }
public async Task NotifyCommentReplyAsync(string email, string commentContent, string title, string replyContentHtml, string postLink) { var payload = new CommentReplyPayload( email, commentContent, title, replyContentHtml, postLink); try { await SendAsync(new NotificationRequest <CommentReplyPayload>(MailMesageTypes.AdminReplyNotification, payload)); } catch (Exception e) { _logger.LogError(e, e.Message); } }