public ActionResult Create(CommentReply commentreply)
        {
            if (ModelState.IsValid)
            {
                commentreply.Approved = true;
                db.CommentReplies.Add(commentreply);
                db.SaveChanges();
                return RedirectToAction("Index", "Home");
            }

            ViewBag.CommentID = new SelectList(db.Comments, "CommentID", "Username", commentreply.CommentID);
            return View(commentreply);
        }
 public ActionResult Edit(CommentReply commentreply)
 {
     if (ModelState.IsValid)
     {
         db.Entry(commentreply).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     ViewBag.CommentID = new SelectList(db.Comments, "CommentID", "Username", commentreply.CommentID);
     return View(commentreply);
 }