mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-08-23 13:06:48 +08:00
40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
// ***********************************************************************
|
|
// Assembly : OpenAuth.App
|
|
// Author : yubaolee
|
|
// Created : 05-19-2015
|
|
//
|
|
// Last Modified By : yubaolee
|
|
// Last Modified On : 05-20-2015
|
|
// ***********************************************************************
|
|
// <copyright file="MenuApp.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft. All rights reserved.
|
|
// </copyright>
|
|
// <summary>菜单服务</summary>
|
|
// ***********************************************************************
|
|
using System.Collections.Generic;
|
|
using OpenAuth.App.DTO;
|
|
using OpenAuth.Domain.Model;
|
|
using OpenAuth.Domain.Service;
|
|
|
|
namespace OpenAuth.App
|
|
{
|
|
public class MenuApp
|
|
{
|
|
private MenuService _menuService;
|
|
|
|
public MenuApp(MenuService service)
|
|
{
|
|
_menuService = service;
|
|
}
|
|
public MenuForUserResponse LoadMenus()
|
|
{
|
|
var response = new MenuForUserResponse();
|
|
var user = LoginCacheApp.GetLogin();
|
|
if (user != null)
|
|
{
|
|
// response.Menus =
|
|
}
|
|
return response;
|
|
}
|
|
}
|
|
} |