annotate SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Services/IService.cs @ 121:8f94475d3146 tip

final code
author stevenh7776
date Thu, 31 May 2012 15:35:26 +0100
parents fa4ba8943048
children
rev   line source
118
fa4ba8943048 final version
stevenh7776
parents: 117
diff changeset
1 using System.Collections.Generic;
fa4ba8943048 final version
stevenh7776
parents: 117
diff changeset
2 using System.ServiceModel;
117
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
3
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
4 namespace SilverlightAsyncRestWcf.Services
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
5 {
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
6 [ServiceContract]
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
7 interface IService<T>
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
8 {
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
9 [OperationContract]
118
fa4ba8943048 final version
stevenh7776
parents: 117
diff changeset
10 IList<T> GetAll();
fa4ba8943048 final version
stevenh7776
parents: 117
diff changeset
11
fa4ba8943048 final version
stevenh7776
parents: 117
diff changeset
12 [OperationContract]
fa4ba8943048 final version
stevenh7776
parents: 117
diff changeset
13 T Get(string id);
117
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
14
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
15 [OperationContract]
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
16 void Insert(T entity);
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
17
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
18 [OperationContract]
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
19 void Update(string id, T entity);
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
20
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
21 [OperationContract]
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
22 void Delete(string id);
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
23 }
9eadccc3b46c REST working, next step unit tests
stevenh7776
parents:
diff changeset
24 }