Exemple #1
0
        public override void DeleteContent(int moduleId, Guid moduleGuid)
        {
            Blog.DeleteByModule(moduleId);
            ContentMetaRespository metaRepository = new ContentMetaRespository();

            metaRepository.DeleteByModule(moduleGuid);

            FriendlyUrl.DeleteByPageGuid(moduleGuid);

            CommentRepository commentRepository = new CommentRepository();

            commentRepository.DeleteByModule(moduleGuid);

            FileAttachment.DeleteByModule(moduleGuid);
        }