private string PeriodFor(ValidationResult.EntityReference reference)
        {
            OrderDto period;

            if (string.Equals(reference.Type, "Order") && _orderPeriods.TryGetValue(reference.Id, out period))
            {
                return(string.Format(_cultureInfo, "{0:Y} - {1:Y}", period.Begin, period.EndFact));
            }

            return(string.Empty);
        }
 private string CreateLink(ValidationResult.EntityReference reference)
 => CreateLink(reference.Type, reference.Id, reference.Name);