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

📄 friendservice.cs

📁 一个 用Ajax实现聊天室的简单例子 不全的地方指点
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;
using ChatDAL;
using ChatModel;

namespace ChatBLL
{
    public class FriendService
    {
        FriendTypeManage ftm = new FriendTypeManage();
        FriendManage fm = new FriendManage();

        /// <summary>
        /// 查找全部好友类型
        /// </summary>
        /// <returns></returns>
        public List<FriendType> getAllFriendType()
        {
            return ftm.getAllFriendType();
        }

        /// <summary>
        /// 找出好友头像及昵称
        /// </summary>
        /// <param name="userID"></param>
        /// <param name="typeID"></param>
        /// <returns></returns>
        public List<User> searchMyFridens(int userID, int typeID)
        {
            return fm.searchMyFridens(userID, typeID);
        }

    }
}

⌨️ 快捷键说明

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