📄 friendservice.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 + -