Esempio n. 1
0
        public IBarelyView Delete(string id)
        {
            var comment = CommentData.Get(new ObjectId(id));

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