using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.ServiceModel.Activation; using System.ServiceModel.Web; using System.Text; using Taloyhtio.GeneralApi.Common.DTO; using WcfRestContrib.ServiceModel.Description; namespace Taloyhtio.GeneralApi.WcfService { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ITaloyhtioIntegration" in both code and config file together. [ServiceContract] public interface ITaloyhtioIntegration { [OperationContract] [WebInvoke(Method = "POST", BodyStyle = WebMessageBodyStyle.WrappedRequest)] //[FaultContract(typeof(CustomFaultException))] void SaveCondoInformation(Condo condo); // [OperationContract] // [WebGet] // string Foo(); [OperationContract] [WebInvoke(Method = "POST", BodyStyle = WebMessageBodyStyle.WrappedRequest)] //[FaultContract(typeof(CustomFaultException))] void SaveBoardMemberInformation(BoardMember boardMember); } }