Exemplo n.º 1
0
        protected string GetAvatar(object CustomerId, object EmailAddress)
        {
            var email = EmailAddress == null ? string.Empty : EmailAddress.ToString();

            var avatar = GravatarHelper.GetGravatarUrlForEmailWithSize(email, 40);

            return(string.Format(AVATAR_FORMAT, GetEditUrl(CustomerId.ToString()), avatar, email));
        }