public ActionResult addComment(Comment comment) { if (comment.repositoryId != 0 && comment.content != null && comment.content != "" && comment.title != null && comment.title != "" && comment.userEmail != null && comment.userEmail != "") { comment.data = DateTime.Now.ToString("dddd,MMMM,dd ,yyyy", new System.Globalization.DateTimeFormatInfo()); bll.save(comment); } return(projectComment(comment.repositoryId + "")); }