发送评论到仓库

How can I add comment to my CommentRepository? Can I just add this line after c.CommentText?
CommentRepository.Instance.AddComment(comment);

    [HttpPost]
    public ActionResult AddComment(string comment)
    {
        Comment c = new Comment();
        c.CommentText = comment;
        return Json(c, JsonRequestBehavior.AllowGet);
    }