Adds UI to enrole members

This commit is contained in:
Paul Schneider 2015-11-04 16:20:21 +01:00
commit 0b8b717f3e
12 changed files with 58 additions and 11 deletions

View file

@ -24,12 +24,11 @@ namespace Yavsc.Controllers
/// </summary>
public ActionResult Index()
{
// FIXME do this in a new installation script.
if (!Roles.RoleExists (roleName)) {
Roles.CreateRole (roleName);
YavscHelpers.Notify (ViewData, roleName + " " + LocalizedText.role_created);
}
return View ();
}
/// <summary>