public ActionResult EditComment(int?id, int?commentId) { var model = new CreateEditCommentViewModel(); var comment = bugTrackerHelper.GetCommentById(commentId.Value); model = Mapper.Map <CreateEditCommentViewModel>(comment); return(View(model)); }
public ActionResult EditComment(int?id, int?commentId) { var model = new CreateEditCommentViewModel(); var comment = bugTrackerHelper.GetCommentById(commentId.Value); model = Mapper.Map <CreateEditCommentViewModel>(comment); return(View(model)); }