-
No results found.
Try your search with a different keyword or use * as a wildcard.
IMenuService.cs
using Nop.Core;
using Nop.Core.Domain.Menus;
namespace Nop.Services.Menus;
///
/// Menu service interface
///
public partial interface IMenuService
{
#region Menus
///
/// Deletes a menu
///
/// Menu
/// A task that represents the asynchronous operation
Task DeleteMenuAsync(Menu menu);
///
/// Gets all menus
///
///
/// Menu type
/// Store identifier; 0 if you want to get all records
/// A value indicating whether to load hidden records
/// Page index
/// Page size
/// A task that represents the asynchronous operation
/// The task result contains the menus
///
Task> GetAllMenusAsync(
MenuType? menuType = null,
int storeId = 0,
bool showHidden = false,
int pageIndex = 0,
int pageSize = int.MaxValue);
///
/// Gets a menu by identifier
///
/// The menu identifier
///
/// A task that represents the asynchronous operation
/// The task result contains a menu
///
Task