Smokewinetea.BLL/NoticeBLL.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmokewineteaModels;
using Smokewinetea.DAL;
using System.Data.SqlClient;
namespace Smokewinetea.BLL
{
public class NoticeBLL
{
/// <summary>
/// 发送公告
/// </summary>
/// <param name="notice"></param>
/// <returns></returns>
public static int NoticeInsert(NoticeModels notice)
{
return NoticeDAL.NoticeInsert(notice);
}
/// <summary>
/// 加载公告
/// </summary>
/// <returns></returns>
public static List<NoticeModels> notisce()
{
return NoticeDAL.Notice();
}
/// <summary>
/// 删除公告
/// </summary>
/// <param name="delectno"></param>
/// <returns></returns>
public static int delectnoti(string delectno)
{
return NoticeDAL.deletenote(delectno);
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
