Exemplo n.º 1
0
        private string GetMemberDescById(string accountNumber)
        {
            MemberNodeDto dto = DcapServiceUtil.GetNodeDto(accountNumber);

            if (dto == null)
            {
                return(string.Empty);
            }
            var description = dto.Description;

            if (String.IsNullOrEmpty(description))
            {
                return(description);
            }
            var arr1 = description.Split(new[] { '|' });

            return(arr1[1]);
        }
Exemplo n.º 2
0
        private string GetMemberNameById(string accountNumber)
        {
            MemberNodeDto dto = DcapServiceUtil.GetNodeDto(accountNumber);

            if (dto == null)
            {
                return(string.Empty);
            }
            var description = dto.Description;

            if (String.IsNullOrEmpty(description))
            {
                return(description);
            }
            var arr1        = description.Split(new [] { '|' });
            var fullName    = arr1[0];
            var accountInfo = arr1[1].Substring(0, arr1[1].IndexOf(" "));

            return(fullName + "|" + accountInfo);
        }