using Kean.Application.Query.ViewModels;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Kean.Application.Query.Interfaces
{
///
/// 表示身份查询服务
///
public interface IIdentityService
{
///
/// 根据 ID 查询指定用户
///
/// 用户 ID
/// 用户视图
Task GetUser(int id);
///
/// 查询指定用户的目录
///
/// 用户 ID
/// 目录视图
Task> GetMenu(int id);
}
}