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; }
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 = "-"; } }
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 = "-"; } }