using System;
using System.Runtime.Serialization;
using System.ServiceModel;
namespace WorkflowDemonstration
{
[ServiceContract]
public interface ICalculationResultService
{
[OperationContract]
bool ProcessCalculationResult(CalculationResult result);
}
[DataContract]
public class CalculationResult
{
[DataMember(IsRequired = true)]
public string Result { get; set; }
[DataMember(IsRequired = true)]
public Guid SiteId { get; set; }
[DataMember(IsRequired = true)]
public Guid WebId { get; set; }
[DataMember(IsRequired = true)]
public Guid InstanceId { get; set; }
}
}