📄 iservice.cs
字号:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
// NOTE: If you change the interface name "IService" here, you must also update the reference to "IService" in Web.config.
[ServiceContract]
public interface IService
{
//获取通讯录表
[OperationContract]
List<addresslist> GetAllAddress();
//存入一个电话记录
[OperationContract]
addresslist SaveAAddress(addresslist address);
//获取图书馆书籍
[OperationContract]
List<librarylist> GetAllBooks();
//根据书名查询书籍
[OperationContract]
List<librarylist> GetBookWithName(string bookname);
//根据编号查询书籍
[OperationContract]
List<librarylist> GetBookWithMark(string marknum);
//根据作者查询书籍
[OperationContract]
List<librarylist> GetBookWithAuthor(string author);
//根据姓名删除联系人
[OperationContract]
void DeleteAAdd(string name);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -