Example #1
0
        private string FormatCity(
            string shipCity,
            string shipState,
            string postalCode,
            string amazonOrderNumber)
        {
            string str     = shipCity + ", " + shipState + " " + postalCode;
            string message = $"Nazev mesta/zeme je prilis dlouhy v objednavce C.: {amazonOrderNumber}.";

            str = _dialogService.AskToChangeLongStringIfNeeded(message, str, MaxCityLength);

            return(str);
        }