comparison SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Services/IService.cs @ 118:fa4ba8943048

final version
author stevenh7776
date Sun, 27 May 2012 19:53:23 +0100
parents 9eadccc3b46c
children
comparison
equal deleted inserted replaced
117:9eadccc3b46c 118:fa4ba8943048
1 using System.ServiceModel; 1 using System.Collections.Generic;
2 using System.ServiceModel;
2 3
3 namespace SilverlightAsyncRestWcf.Services 4 namespace SilverlightAsyncRestWcf.Services
4 { 5 {
5 [ServiceContract] 6 [ServiceContract]
6 interface IService<T> 7 interface IService<T>
7 { 8 {
8 [OperationContract] 9 [OperationContract]
9 string Get(string id); 10 IList<T> GetAll();
11
12 [OperationContract]
13 T Get(string id);
10 14
11 [OperationContract] 15 [OperationContract]
12 void Insert(T entity); 16 void Insert(T entity);
13 17
14 [OperationContract] 18 [OperationContract]