* Adds client resourses for Markdown.js

* Implements a part of the client UI at editing Circle collections
This commit is contained in:
Paul Schneider 2015-08-24 05:51:17 +02:00
commit 9748c9d7e4
19 changed files with 552 additions and 119 deletions

View file

@ -214,12 +214,13 @@ namespace Yavsc.Controllers
return View (model);
}
/// <summary>
/// Profile the specified user.
/// </summary>
/// <param name="user">User name.</param>
[Authorize]
[HttpGet]
/// <summary>
/// Profile the specified id.
/// </summary>
/// <param name="id">Identifier.</param>
public ActionResult Profile (string id)
{
if (id == null)
@ -230,14 +231,16 @@ namespace Yavsc.Controllers
return View (model);
}
/// <summary>
/// Profile the specified user, model and AvatarFile.
/// </summary>
/// <param name="user">User.</param>
/// <param name="model">Model.</param>
/// <param name="AvatarFile">Avatar file.</param>
[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>
public ActionResult Profile (string id, Profile model, HttpPostedFileBase AvatarFile)
{
// ASSERT("Membership.GetUser ().UserName is made of simple characters, no slash nor backslash"