using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.Http;
using Yavsc.Model.WorkFlow;
using System.Collections.Specialized;
using Yavsc.Model.FrontOffice;
namespace Yavsc.ApiControllers
{
///
/// Basket controller.
/// Maintains a collection of articles
/// qualified with name value pairs
///
public class BasketController : ApiController
{
///
/// The wfmgr.
///
protected WorkFlowManager wfmgr = null;
///
/// Initialize the specified controllerContext.
///
/// Controller context.
protected override void Initialize (System.Web.Http.Controllers.HttpControllerContext controllerContext)
{
base.Initialize (controllerContext);
wfmgr = new WorkFlowManager ();
}
///
/// Create the specified basket item using specified command parameters.
///
/// Command parameters.
[AcceptVerbs("CREATE")]
public long Create(NameValueCollection cmdParams)
{
throw new NotImplementedException ();
}
///
/// Read the specified basket item.
///
/// Itemid.
[AcceptVerbs("READ")]
Commande Read(long itemid){
throw new NotImplementedException ();
}
///
/// Update the specified item parameter using the specified value.
///
/// Item identifier.
/// Parameter name.
/// Value.
[AcceptVerbs("UPDATE")]
public void Update(long itemid, string param, string value)
{
throw new NotImplementedException ();
}
///
/// Delete the specified item.
///
/// Item identifier.
public void Delete(long itemid)
{
throw new NotImplementedException ();
}
///
/// Post a file, as attached document to the specified
/// Item
///
[AcceptVerbs("POST")]
public void Post(long itemId)
{
throw new NotImplementedException ();
}
}
}