diff SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Services/IRepository.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/IRepository.cs	Sun May 27 15:06:35 2012 +0100
+++ b/SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Services/IRepository.cs	Sun May 27 19:53:23 2012 +0100
@@ -1,25 +1,13 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using SilverlightAsyncRestWcf.Common;
+using System.Collections.Generic;
 
 namespace SilverlightAsyncRestWcf.Services
 {
     public interface IRepository<T> where T : class
     {
         T GetById(string id);
-        IQueryable<T> GetAll();
+        IList<T> GetAll();
         void Insert(T entity);
         void Update(T entity);
         void Delete(string id);
     }
-
-    public interface IRepository
-    {
-        object GetById(string id);
-        IQueryable GetAll();
-        void Insert(object entity);
-        void Update(object entity);
-        void Delete(string id);
-    }
 }