commentsystem.cs
来自「入门级asp.netC#网站三层系统开发」· CS 代码 · 共 27 行
CS
27 行
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 + =
减小字号Ctrl + -
显示快捷键?