Mercurial > silverbladetech
view SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Services/IService.cs @ 121:8f94475d3146 tip
final code
author | stevenh7776 |
---|---|
date | Thu, 31 May 2012 15:35:26 +0100 |
parents | fa4ba8943048 |
children |
line wrap: on
line source
using System.Collections.Generic; using System.ServiceModel; namespace SilverlightAsyncRestWcf.Services { [ServiceContract] interface IService<T> { [OperationContract] IList<T> GetAll(); [OperationContract] T Get(string id); [OperationContract] void Insert(T entity); [OperationContract] void Update(string id, T entity); [OperationContract] void Delete(string id); } }