* Global.asax.cs: ignored routes are revisited

* YavscApiController.cs: implements a default web api response

* Web.csproj: bask to net451

* AccountController.cs: refactoring

* Web.config: removes the app setting "ClientValidationEnabled"

* Web.config: Makes true the clientValidationEnabled app parameter

* packages.config: retargeting Paypal api to net451

* AccountController.cs: xml doc
This commit is contained in:
Paul Schneider 2015-09-11 14:37:26 +02:00
commit ab4471e974
9 changed files with 94 additions and 38 deletions

View file

@ -259,12 +259,12 @@ namespace Yavsc.Controllers
}
[Authorize]
[HttpGet]
/// <summary>
/// Profile the specified id.
/// </summary>
/// <param name="id">Identifier.</param>
[Authorize]
[HttpGet]
public ActionResult Profile (string id)
{
if (id == null)
@ -277,14 +277,14 @@ namespace Yavsc.Controllers
[Authorize]
[HttpPost]
/// <summary>
/// Profile the specified id, model and AvatarFile.
/// </summary>
/// <param name="id">Identifier.</param>
/// <param name="model">Model.</param>
/// <param name="AvatarFile">Avatar file.</param>
[Authorize]
[HttpPost]
public ActionResult Profile (string id, Profile model, HttpPostedFileBase AvatarFile)
{
// ASSERT("Membership.GetUser ().UserName is made of simple characters, no slash nor backslash"