public string Login(string pAppName, string pCompany, string pEnv, string pLoginEnv, string pUserName, string pPassword) { hzyMessage = new HZYmessage(); try { WS ws = new WS(); return ws.Login(pEnv, pLoginEnv, pUserName, pPassword); } catch (Exception ex) { hzyMessage.ErrorMessage = ex.Message; HZY.COM.Common.Log.WirteLogWS(ex,""); return ""; } }