This commit is contained in:
2025-10-20 19:39:17 +08:00
parent 01adc11be7
commit 7ad1b7d5e1
29 changed files with 113 additions and 140 deletions

View File

@@ -0,0 +1,25 @@
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);
}