Files
tnb.server/system/Tnb.Systems.Interfaces/System/IModuleButtonService.cs
2023-03-13 15:00:34 +08:00

31 lines
786 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using JNPF.Systems.Entitys.System;
namespace JNPF.Systems.Interfaces.System;
/// <summary>
/// 功能按钮
/// 版 本V3.2
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 日 期2021-06-01.
/// </summary>
public interface IModuleButtonService
{
/// <summary>
/// 列表.
/// </summary>
/// <param name="moduleId">功能id.</param>
/// <returns></returns>
Task<List<ModuleButtonEntity>> GetList(string? moduleId = default);
/// <summary>
/// 添加按钮.
/// </summary>
/// <param name="entity"></param>
/// <returns></returns>
Task<int> Create(ModuleButtonEntity entity);
/// <summary>
/// 获取用户功能按钮.
/// </summary>
Task<dynamic> GetUserModuleButtonList();
}