BLL/ChatBll.cs

(完整代码) 805B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL
{
    public static class ChatBll
    {
        private static DAL.ChatService dao = new DAL.ChatService();
        public static int AddChat(Models.Chat chat)
        {

            return dao.AddChat(chat);
        }
        //指定一个页面后,返回这页的三条信息
        public static List<Models.Chat> getallChat(int currpage)
        {
            return dao.getallChat(currpage);

        }
        //得到总的页数
        public static int getallChatCount()
        {
            return dao.getallChatCount();
        }
        public static int getallChatInfoCount()
        {
            return dao.getallChatInfoCount();
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。