WIP
This commit is contained in:
25
DMS.WPF/Interfaces/IMenuWpfService.cs
Normal file
25
DMS.WPF/Interfaces/IMenuWpfService.cs
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user