Exemplo n.º 1
0
        private void BindReviews(Guid showId, ref MyShowService myShowService)
        {
            var myShows = myShowService.GetMyShowsForShow(showId).Where(x => x.Notes != null).OrderByDescending(y => y.NotesUpdatedDate).ToList();

            if (myShows == null || myShows.Count <= 0)
            {
                phNoReviews.Visible = true;
                return;
            }

            rptReviews.DataSource = myShows;
            rptReviews.DataBind();
        }