The workflow should take as a parameter a Boolean value and set
an integer value as a result of the workflow:
negative random integer value if the Boolean value is false,
positive random integer value if the Boolean value is true;
No custom method with source code can be provided for the workflow in any form,
only custom members and properties can be added to the workflow.
A WCF service:
One public method taking a Boolean value and returning an
integer value.
This method should execute the workflow defined in the library,
set the Boolean value as its parameter and return the random integer
value generated by the workflow.
A console application:
This application should ask the user for a Boolean value and
pass this value as a parameter for the public method of the WCF
service. The integer value returned from the WCF method should be
displayed on the console:
Approximate points:
Library with a workflow (including required logic of the workflow):
3.0
WCF service (including executing the workflow): 4.5
Console application (including logic of calling the WCF service's
method): 2.5