using System;
using yavscModel.WorkFlow;
using System.Web.Mvc;
namespace yavscModel.WorkFlow
{
public interface IWFModule
{
///
/// Gets the state for an order (assuming it was passed to Handle).
///
/// The state.
/// C.
int GetState (IWFOrder c);
///
/// Handle the specified order and form input value collection.
///
/// l'ordre
/// La collection de valeur de champs d'entée de formulaires.
/// 0 when the module accepts to handle the order, non null value otherwize
int Handle (IWFOrder order,FormCollection collection);
}
}