⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 commentsystem.cs

📁 新闻网站
💻 CS
字号:
using System;
using System.Collections.Generic;

using Common.Entities;
using DAL.Accessor;
namespace BLL.System
{
    public class CommentSystem
    {
        public bool CommentAdd(Comment comment)
        {
            return new CommentAccessor().CommentAdd(comment);
        }

        public List<Comment> GetCommentList()
        {
            return new CommentAccessor().GetCommentList();
        }

        //删除操作
        public bool DeleteComment(int id)
        {
            return new CommentAccessor().DeleteComment(id);
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -