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

final version
author stevenh7776
date Sun, 27 May 2012 19:53:23 +0100
parents 9eadccc3b46c
children
line wrap: on
line diff
--- a/SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Services/IService.cs	Sun May 27 15:06:35 2012 +0100
+++ b/SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Services/IService.cs	Sun May 27 19:53:23 2012 +0100
@@ -1,4 +1,5 @@
-using System.ServiceModel;
+using System.Collections.Generic;
+using System.ServiceModel;
 
 namespace SilverlightAsyncRestWcf.Services
 {
@@ -6,7 +7,10 @@
     interface IService<T>
     {
         [OperationContract]
-        string Get(string id);
+        IList<T> GetAll();
+        
+        [OperationContract]
+        T Get(string id);
       
         [OperationContract]
         void Insert(T entity);