private static IEnumerable<Comment> SelectComments(Chapter chapter, string type)
 {
     var mistakeShower = IsIssueCommentType(type);
     var comments = from comment in chapter.Comments
                    where comment.MistakeShower == mistakeShower
                    select comment;
     return comments.ToList();
 }
 // GET: /Chapter/Create
 public ActionResult Create(int? creativeId)
 {
     if (creativeId == null)
     {
         return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
     }
     var chapter = new Chapter { CreativeId = (int)creativeId };
     return View(chapter);
 }
 private static IEnumerable<Comment> SelectIssuesComments(Chapter chapter)
 {
     return SelectComments(chapter, "issue");
 }
        // GET: /Comment/

        private static IEnumerable<Comment> SelectSimpleComments(Chapter chapter)
        {
            return SelectComments(chapter, "comment");
        }