using System.Collections.Generic;
using System.Threading.Tasks;
namespace Abp.Application.Navigation
{
///
/// Used to manage navigation for users.
///
public interface IUserNavigationManager
{
///
/// Gets a menu specialized for given user.
///
/// Unique name of the menu
/// The user, or null for anonymous users
Task GetMenuAsync(string menuName, UserIdentifier user);
///
/// Gets all menus specialized for given user.
///
/// User id or null for anonymous users
Task> GetMenusAsync(UserIdentifier user);
}
}