comparison SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Services/IService.cs @ 117:9eadccc3b46c

REST working, next step unit tests
author stevenh7776
date Sun, 27 May 2012 15:06:35 +0100
parents
children fa4ba8943048
comparison
equal deleted inserted replaced
116:d3380f499575 117:9eadccc3b46c
1 using System.ServiceModel;
2
3 namespace SilverlightAsyncRestWcf.Services
4 {
5 [ServiceContract]
6 interface IService<T>
7 {
8 [OperationContract]
9 string Get(string id);
10
11 [OperationContract]
12 void Insert(T entity);
13
14 [OperationContract]
15 void Update(string id, T entity);
16
17 [OperationContract]
18 void Delete(string id);
19 }
20 }