public async Task <NotificationLog> GetNotificationLog(string notificationLogId, CancellationToken cancellationToken = default) { if (!NotificationLogId.TryParse(notificationLogId, out NotificationLogId logId)) { throw new FormatException($"Specified {nameof(notificationLogId)} value of '{notificationLogId}' was not in the expected format."); } return(await this.eventStore.GetLog(logId, cancellationToken)); }