Ejemplo n.º 1
0
        public static string FormatAdress(FaToolUser user)
        {
            var country = Countries.CanResolve(user.Country)
                ? Countries.ResolveName(user.Country)
                : string.Empty;

            return(string.Format("{0}; {1} {2}; {3}; {4}",
                                 user.Address,
                                 user.ZipCode,
                                 user.City,
                                 user.State,
                                 country));
        }