public async Task<ActionResult> PostComment(string commentText, bool mistakeShower, int chapterId)
 {
     var comment = new Comment
     {
         Author = User.Identity.GetUserName(),
         ChapterId = chapterId,
         MistakeShower = mistakeShower,
         Text = commentText
     };
     if (commentText == null) return null;
     SaveComment(comment);
     var chapter = await db.Chapters.FindAsync(comment.ChapterId);
     return PartialView("_Comments", SelectSimpleComments(chapter));
 }
 private int SaveComment(Comment comment)
 {
     var test = db.Comments.Add(comment);
     db.SaveChanges();
     return 0;
 }