public IList <Plan> GetPlanByReportId(int ReportId) { IList <Plan> list = new List <Plan>(); IList <PlanBO> listBO = new List <PlanBO>(); listBO = planDao.GetPlanByReportId(ReportId); if (listBO != null && listBO.Count > 0) { foreach (PlanBO obj in listBO) { list.Add(new Plan(obj)); } } return(list); }