📄 commentsystem.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 + -