コード例 #1
0
ファイル: CommentHandler.cs プロジェクト: Earlz/earlzdotnet
        public IBarelyView Delete(string id)
        {
            var comment = CommentData.Get(new ObjectId(id));

            CommentData.Delete(id);
            BlogEntryData.RecalculateComments(comment.EntryID);
            return(new WrapperView("Deleted comment"));
        }