annotate 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
rev   line source
117
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
1 using System.ServiceModel;
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
2
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
3 namespace SilverlightAsyncRestWcf.Services
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
4 {
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
5 [ServiceContract]
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
6 interface IService<T>
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
7 {
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
8 [OperationContract]
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
9 string Get(string id);
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
10
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
11 [OperationContract]
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
12 void Insert(T entity);
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
13
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
14 [OperationContract]
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
15 void Update(string id, T entity);
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
16
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
17 [OperationContract]
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
18 void Delete(string id);
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
19 }
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
20 }