public User Login(string Name, string Password) { if (!ADController.Login(Name, Password)) { throw new ArgumentException("当前域中不存在该用户或者密码不正确"); } return(Get(Name)); }