using Abp.Dependency;

namespace YGNT.Infrastructure.Agent
{
    public interface IUserAgent : ITransientDependency
    {
        /// <summary>
        /// 检查用户id是否为管理员
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        bool CheckUserIsAdmin(long? userId);
    }
}