Ejemplo n.º 1
0
        private DTO.DataItem GetMemberTypeOIC(String typeCode)
        {
            BLL.DataCenterBiz biz        = new BLL.DataCenterBiz();
            DTO.DataItem      memberType = biz.GetMemberTypeById(typeCode).DataResponse;// (SysMessage.DefaultSelecting);

            return(memberType);
            //return ls.FirstOrDefault(a => a.Id == typeCode).Name;
        }
Ejemplo n.º 2
0
        private void GetMembeTypeAfter(string id)
        {
            var biz = new BLL.DataCenterBiz();
            var ls  = biz.GetMemberTypeById(id);

            if (ls != null)
            {
                txtTypeMemberAfterReg.Text = ls.DataResponse.Name;
            }
            else
            {
                txtTypeMemberAfterReg.Text = "-";
            }
        }
Ejemplo n.º 3
0
        private void GetMembeTypeAfter(string id)
        {
            var biz = new BLL.DataCenterBiz();
            var ls  = biz.GetMemberTypeById(id);

            if (ls != null)
            {
                if (ls.DataResponse.Id == DTO.MemberType.General.GetEnumValue().ToString())
                {
                    ls.DataResponse.Name       = ls.DataResponse.Name + "/ตัวแทน/นายหน้า";
                    txtTypeMemberAfterReg.Text = ls.DataResponse.Name;
                }
                else
                {
                    txtTypeMemberAfterReg.Text = ls.DataResponse.Name;
                }
            }
            else
            {
                txtTypeMemberAfterReg.Text = "-";
            }
        }