private void BindReviews(Guid setSongId) { var analysisService = new AnalysisService(Ioc.GetInstance <IAnalysisRepository>()); var analyses = analysisService.GetAnalysisBySetSong(setSongId).OrderByDescending(x => x.UpdatedDate).ToList(); if (analyses == null || analyses.Count <= 0) { phNoReviews.Visible = true; return; } rptReviews.DataSource = analyses; rptReviews.DataBind(); }