Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

466 B
Raw Blame
using Grand.Domain.Admin;
using Grand.Web.AdminShared.Models.Menu;

namespace Grand.Web.AdminShared.Interfaces;

public interface IMenuViewModelService
{
    Task<IList<MenuListModel>> MenuItems();
    Task<AdminSiteMap> GetMenuById(string id);
    Task<AdminSiteMap> FindParentNodeById(string id);
    Task<AdminSiteMap> InsertMenuModel(MenuModel model, string parentId);
    Task<AdminSiteMap> UpdateMenuModel(MenuModel model);
    Task DeleteMenu(string id);
}