makes use of Mono.Web.Xdt at deploy time * PayPalController.cs: implements a Paypal controller * Abort.aspx: Paypal paiement aborting page * Commit.aspx: Paypal paiement commit page * IPN.aspx: Paypal paiement notification page * Index.aspx: Paypal paiement form page * WebTasks.dll: thanks to he Marcelo Zabani's coding blog: <https://mzabani.wordpress.com/2013/09/24/mono-asp-net-project-deployment-with-web-config-xdt-transformations/> * .gitignore: ignore my new config transformation sources * pkg.mdproj: * Presta.csproj: * TestAPI.csproj: * fortune.csproj: * SalesCatalog.csproj: * ITContentProvider.csproj: * NpgsqlMRPProviders.csproj: * NpgsqlBlogProvider.csproj: * NpgsqlContentProvider.csproj: adds a build target named "Lua" * Makefile: instead of `deploy`, start Xsp, in the `dist` folder * Yavsc.sln: * YavscModel.csproj: * WebControls.csproj: * YavscClient.csproj: Lua config * yavsc.rate.js: refactoring, still needs a cleanning * RateSkillControl.ascx: give it the `rate-site-skill` `data-type` html attribute * RateUserSkillControl.ascx: cleans an obsolete code chunk * Web.csproj: Fixes the missing RateSkillControl at deploy time, adds my deployment config
44 lines
750 B
C#
44 lines
750 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
|
|
namespace Yavsc.Controllers
|
|
{
|
|
/// <summary>
|
|
/// Pay pal controller.
|
|
/// </summary>
|
|
public class PayPalController : Controller
|
|
{
|
|
/// <summary>
|
|
/// Index this instance.
|
|
/// </summary>
|
|
public ActionResult Index()
|
|
{
|
|
return View ();
|
|
}
|
|
/// <summary>
|
|
/// Commit this instance.
|
|
/// </summary>
|
|
public ActionResult Commit()
|
|
{
|
|
return View ();
|
|
}
|
|
/// <summary>
|
|
/// Abort this instance.
|
|
/// </summary>
|
|
public ActionResult Abort()
|
|
{
|
|
return View ();
|
|
}
|
|
/// <summary>
|
|
/// IP this instance.
|
|
/// </summary>
|
|
public ActionResult IPN()
|
|
{
|
|
return View ();
|
|
}
|
|
}
|
|
}
|