mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +08:00
21 lines
412 B
C#
21 lines
412 B
C#
using System.Web.Mvc;
|
|
using OpenAuth.App;
|
|
using OpenAuth.Domain.Service;
|
|
|
|
namespace OpenAuth.Web.Controllers
|
|
{
|
|
public class MenuController : Controller
|
|
{
|
|
//
|
|
// GET: /Menu/
|
|
|
|
public ActionResult LeftMenu()
|
|
{
|
|
MenuApp app = new MenuApp(new MenuService());
|
|
var response = app.LoadMenus();
|
|
return PartialView(response);
|
|
}
|
|
|
|
}
|
|
}
|