/// <summary>
        /// 根据UsersId获取权限
        /// </summary>
        /// <param name="UsersId"></param>
        /// <returns></returns>
        public List <Permissions> GetPermissionsByUserId(int UsersId)
        {
            var result = iPermissions.GetPermissionsByUserId(UsersId);

            return(result);
        }