public async Task NotifyCommentAddedAsync(Guid remarkId, string author, string comment, DateTime date) { Logger.Debug($"Send RemarkStateChangedEmail, remarkId: {remarkId}"); var remark = await GetRemarkAsync(remarkId); var subsribers = await GetSubscribersAsync(remarkId); if (subsribers.HasNoValue) { return; } var users = await GetUsersAsync(subsribers.Value); await _emailService.PublishCommentAddedToRemarkEmailAsync(users, remark.Value, author, comment, date); }