friendservice.cs

来自「一个 用Ajax实现聊天室的简单例子 不全的地方指点」· CS 代码 · 共 36 行

CS
36
字号
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 + =
减小字号Ctrl + -
显示快捷键?