protected void btnSpamClick(object sender, EventArgs e)
        {
            var lstReview = GetIdxReviews();

            foreach (var review in lstReview)
            {
                var msgManager = new MessageManager();
                msgManager.CheckSpam(review);
            }
            Response.Redirect(Request.RawUrl);
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                var lstReview = new MessageManager().GetAllReview();

                ddlAuthor.DataSource = lstReview.Select(r => r.Author).Distinct();
                ddlAuthor.DataBind();
                ddlAuthor.Items.Insert(0, "------");
                ddlAuthor.SelectedIndex = 0;

                grvReview.DataSource = lstReview;
                grvReview.DataBind();

            }
        }
        protected void ddlAuthor_OnSelectedIndexChanged(object sender, EventArgs e)
        {
            List<Review> lstMsg;
            var messageManager = new MessageManager();

            var curAuthor = ddlAuthor.SelectedValue.ToString(CultureInfo.InvariantCulture);
            if (curAuthor == "------")
            {
                lstMsg = messageManager.GetAllReview();
            }
            else
            {
                lstMsg = messageManager
                    .GetAllReview()
                    .Where(r => Convert.ToInt32(ddlAuthor.SelectedValue) == r.Author.Id)
                    .ToList();
            }

            grvReview.DataSource = lstMsg;
            grvReview.DataBind();
        }