/// <summary> /// 查询用户 /// </summary> /// <param name="userManage"></param> static void QueryAllUser1(IUserManage userManage) { foreach (var user in userManage.GetUsers1().Result) { Console.WriteLine(user); } }