150 lines
3.8 KiB
C#
150 lines
3.8 KiB
C#
using Bootstrap.Admin.Models;
|
|
using System.Web.Mvc;
|
|
|
|
namespace Bootstrap.Admin.Controllers
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class AdminController : Controller
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Index()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/Index");
|
|
return View(v);
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Users()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/Users");
|
|
return View(v);
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Groups()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/Groups");
|
|
return View(v);
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Dicts()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/Dicts");
|
|
return View(v);
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Roles()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/Roles");
|
|
return View(v);
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Menus()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/Menus");
|
|
return View(v);
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Logs()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/Logs");
|
|
return View(v);
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult FAIcon()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/FAIcon");
|
|
return View(v);
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Profiles()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/Profiles");
|
|
return View(v);
|
|
}
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Notifications()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/Notifications");
|
|
return View(v);
|
|
}
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Infos()
|
|
{
|
|
var v = new InfosModel("~/Admin/Infos");
|
|
return View(v);
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Exceptions()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/Exceptions");
|
|
return View(v);
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Messages()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/Messages");
|
|
return View(v);
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Tasks()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/Tasks");
|
|
return View(v);
|
|
}
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public ActionResult Mobile()
|
|
{
|
|
var v = new NavigatorBarModel("~/Admin/Mobile");
|
|
return View(v);
|
|
}
|
|
}
|
|
}
|