Exemplo n.º 1
0
        private string GetUserImageName()
        {
            string UserName = GetUsername;
            UserProfileController objUserProfile = new UserProfileController();
            string ImageName = objUserProfile.GetUserImageName(UserName);
            string HostUrl   = GetHostURL;

            if (!String.IsNullOrEmpty(ImageName))
            {
                userImage = HostUrl + "/Modules/Admin/UserManagement/UserPic/" + ImageName;
            }
            else
            {
                userImage = HostUrl + "/Modules/Admin/UserManagement/UserPic/NoImage.png";
            }
            return(userImage);
        }