private bool GetAllBangKeDto(out BangKeDto[] allBangKeDto) { var userName = UserName.Value.Trim(); var idMember = IdMember.Value.Trim(); var sBeginDate = BeginDate.Value.Trim(); var beginDate = DateUtil.GetDateTime(sBeginDate); var sEndDate = EndDate.Value.Trim(); var endDate = DateUtil.GetDateTime(sEndDate); if (!IsValidSearchCondition(idMember, sBeginDate, sEndDate)) { allBangKeDto = new BangKeDto[0]; return(false); } if (endDate == null) { endDate = DateTime.Now; } allBangKeDto = DcapServiceUtil.SearchBangKeExt(idMember, userName, beginDate, endDate); return(true); }