using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; namespace Aitex.Core.WCF.Interface { [ServiceContract(CallbackContract = typeof(IEventServiceCallback))] public interface IEventService { [OperationContract] bool Register(Guid id); [OperationContract(IsOneWay = true)] void UnRegister(Guid id); } }