public ActionResult Edit(int?id) { ArticleComment comment; if (id.HasValue) { comment = ArticleComments.GetByID(id.Value); } else { comment = new ArticleComment(); } return(View(model: comment)); }