Files
DMS/DMS.WPF/Interfaces/IMenuWpfService.cs
2025-10-20 19:39:17 +08:00

25 lines
485 B
C#

using System.Collections.ObjectModel;
using DMS.WPF.ItemViewModel;
namespace DMS.WPF.Interfaces;
/// <summary>
/// 菜单数据服务接口。
/// </summary>
public interface IMenuWpfService
{
/// <summary>
/// 添加菜单项。
/// </summary>
void AddMenuToView(MenuItem MenuItem);
/// <summary>
/// 删除菜单项。
/// </summary>
Task DeleteMenuItem(MenuItem? MenuItem);
void LoadAllMenus();
Task UpdateMenuItem(MenuItem MenuItem);
}