xml doc
parent
7558e11bd6
commit
93c18633b9
@ -1,4 +1,12 @@
|
||||
<%@ Page Title="Commande" Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage<FormCollection>" %>
|
||||
<asp:Content ID="MainContentContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
rha
|
||||
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ID="MASContentContent" ContentPlaceHolderID="MASContent" runat="server">
|
||||
<ul><li>
|
||||
<%= Html.ActionLink("Catalog","Catalog" ) %>
|
||||
</li><li>
|
||||
<%= Html.ActionLink("Estimates","Estimates" ) %>
|
||||
</li></ul>
|
||||
</asp:Content>
|
||||
@ -1,16 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Yavsc.Model.WorkFlow
|
||||
{
|
||||
|
||||
public class BasketImpact
|
||||
{
|
||||
public string ProductRef { get; set; }
|
||||
public int Count { get; set; }
|
||||
public string Message { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,25 +0,0 @@
|
||||
using System;
|
||||
using Yavsc.Model.WorkFlow;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace Yavsc.Model.WorkFlow
|
||||
{
|
||||
public interface IWFModule
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the state for an order (assuming it was passed to <c>Handle</c>).
|
||||
/// </summary>
|
||||
/// <returns>The state.</returns>
|
||||
/// <param name="c">C.</param>
|
||||
int GetState (IWFOrder c);
|
||||
/// <summary>
|
||||
/// Handle the specified order and form input value collection.
|
||||
/// </summary>
|
||||
/// <param name="order">l'ordre</param>
|
||||
/// <param name="collection">La collection de valeur de champs d'entée de formulaires.</param>
|
||||
/// <returns>0 when the module accepts to handle the order, non null value otherwize<returns>
|
||||
int Handle (IWFOrder order,FormCollection collection);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,22 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Yavsc.Model.WorkFlow
|
||||
{
|
||||
public interface IWFOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the unique Identifier for this order, in this application.
|
||||
/// </summary>
|
||||
/// <value>The unique I.</value>
|
||||
long UniqueID {
|
||||
get;
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets the actual status for this order.
|
||||
/// </summary>
|
||||
/// <returns>The status.</returns>
|
||||
string GetStatus();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue