- Mvc-like action binding in the WF web api ... ? * Yavsc.sln: * Web.csproj: * MvcActionValueBinder.cs: * yavscModel.csproj: * WFOrder.cs: * IWFOrder.cs: * BasketImpact.cs: * ProjectInfo.cs: * IWFModule.cs: * IWFCommand.cs: * WorkFlowController.cs: * NewProjectModel.cs: * IContentProvider.cs: * ITCPNpgsqlProvider.cs: * WorkFlowProvider.csproj: * ITContentProvider.csproj: * AssemblyInfo.cs: * OrderStatusChangedEventArgs.cs: * NpgsqlContentProvider.cs:
22 lines
519 B
C#
22 lines
519 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Web.Mvc;
|
|
|
|
namespace yavscModel.WorkFlow
|
|
{
|
|
public interface IContentProvider: IDisposable
|
|
{
|
|
IWFOrder CreateOrder ();
|
|
IWFOrder ImapctOrder (string orderid, FormCollection col);
|
|
IContent GetBlob (string orderId);
|
|
int GetStatus (string orderId);
|
|
/// <summary>
|
|
/// Gets the status labels.
|
|
/// 0 is the starting status
|
|
/// </summary>
|
|
/// <value>The status labels.</value>
|
|
bool [] IsFinalStatus { get; }
|
|
string [] StatusLabels {get;}
|
|
}
|
|
}
|
|
|