public async Task NotifyPhotoAddedAsync(Guid remarkId) { 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.PublishPhotosAddedToRemarkEmailAsync(users, remark.Value); }