view SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Services/IService.cs @ 117:9eadccc3b46c

REST working, next step unit tests
author stevenh7776
date Sun, 27 May 2012 15:06:35 +0100
parents
children fa4ba8943048
line wrap: on
line source

using System.ServiceModel;

namespace SilverlightAsyncRestWcf.Services
{
    [ServiceContract]
    interface IService<T>
    {
        [OperationContract]
        string Get(string id);
      
        [OperationContract]
        void Insert(T entity);
      
        [OperationContract]
        void Update(string id, T entity);
     
        [OperationContract]
        void Delete(string id);
    }
}