2014-07-16 20:35:03 +02:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
using System.Web.Security;
|
2014-10-06 03:05:57 +02:00
|
|
|
using System.Web.Http;
|
2014-10-06 04:58:47 +02:00
|
|
|
using Yavsc.Model.WorkFlow;
|
2015-02-08 20:59:08 +01:00
|
|
|
using System.Collections.Specialized;
|
2014-07-16 20:35:03 +02:00
|
|
|
|
2014-10-06 03:05:57 +02:00
|
|
|
namespace Yavsc.ApiControllers
|
2014-07-16 20:35:03 +02:00
|
|
|
{
|
2015-01-27 00:41:20 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Basket controller.
|
|
|
|
|
/// </summary>
|
2014-10-06 03:05:57 +02:00
|
|
|
public class BasketController : ApiController
|
2014-07-16 20:35:03 +02:00
|
|
|
{
|
2015-01-27 00:41:20 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// The wfmgr.
|
|
|
|
|
/// </summary>
|
2014-12-20 02:11:51 +01:00
|
|
|
protected WorkFlowManager wfmgr = null;
|
2015-01-27 00:41:20 +01:00
|
|
|
/// <summary>
|
|
|
|
|
/// Initialize the specified controllerContext.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="controllerContext">Controller context.</param>
|
2014-12-20 02:11:51 +01:00
|
|
|
protected override void Initialize (System.Web.Http.Controllers.HttpControllerContext controllerContext)
|
|
|
|
|
{
|
|
|
|
|
base.Initialize (controllerContext);
|
|
|
|
|
wfmgr = new WorkFlowManager ();
|
|
|
|
|
}
|
2015-02-08 20:59:08 +01:00
|
|
|
[AcceptVerbs("GET")]
|
|
|
|
|
public long Create(string productId , NameValueCollection cmdParams)
|
2014-10-06 03:05:57 +02:00
|
|
|
{
|
|
|
|
|
throw new NotImplementedException ();
|
|
|
|
|
}
|
2014-07-16 20:35:03 +02:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|