* map-load.gif:
* mapstyle.css:
* fit-bounds.png:
* mapstyle-ie.css:
* jquery.googlemaps.js:
* pin-pink.png:
* mapstyle.min.css:
* pin-green.png:
* pin-azure.png:
* flag-azure.png:
* flag-green.png:
* needle-pink.png:
* jquery.googlemaps.min.js:
* current-location.png:
* niddle-green.png:
* popup-template-marker.html:
* popup-template-circle.html:
* popup-template-polygon.html:
* popup-template-polyline.html:
* popup-template-rectangle.html: GoogleMaps related add
* AccountController.cs: Fixes the conflict between external and custom
avatar
* BasketController.cs: (Revert to revision
93c18633b9)
* BlogsController.cs: Removes unused statment
* style.css:
* UserPost.aspx:
* UserPosts.aspx: an Avatar
* Web.csproj: Google Maps references and resources
* packages.config: Adds GoogleMapsHelpers, JQuery.GoogleMaps and
MVC.GoogleMaps references
* NpgsqlWorkflow.csproj: The project now references Newtonsoft.Json
* NpgsqlContentProvider.cs: Saves the command parameters
57 lines
No EOL
1.5 KiB
C#
57 lines
No EOL
1.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Security;
|
|
using System.Web.Http;
|
|
using Yavsc.Model.WorkFlow;
|
|
|
|
namespace Yavsc.ApiControllers
|
|
{
|
|
/// <summary>
|
|
/// Basket controller.
|
|
/// </summary>
|
|
public class BasketController : ApiController
|
|
{
|
|
/// <summary>
|
|
/// The wfmgr.
|
|
/// </summary>
|
|
protected WorkFlowManager wfmgr = null;
|
|
/// <summary>
|
|
/// Initialize the specified controllerContext.
|
|
/// </summary>
|
|
/// <param name="controllerContext">Controller context.</param>
|
|
protected override void Initialize (System.Web.Http.Controllers.HttpControllerContext controllerContext)
|
|
{
|
|
base.Initialize (controllerContext);
|
|
wfmgr = new WorkFlowManager ();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Validates the order.
|
|
///
|
|
/// </summary>
|
|
/// <returns><c>true</c>, if order was validated, <c>false</c> otherwise.</returns>
|
|
/// <param name="orderid">Orderid.</param>
|
|
bool ValidateOrder(long orderid) {
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
long CreateOrder(string title,string mesg)
|
|
{
|
|
throw new NotImplementedException ();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Adds to basket, a product from the catalog, in the user's session.
|
|
/// </summary>
|
|
/// <returns>The to basket.</returns>
|
|
[HttpGet]
|
|
public long AddToOrder (long orderid, string prodref,int count, object prodparams=null)
|
|
{
|
|
//TODO find the basket for Membership.GetUser().UserName
|
|
//return WFManager.Write(estid << from the basket, desc, ucost, count, productid);
|
|
throw new NotImplementedException ();
|
|
}
|
|
}
|
|
} |