public async Task <IssueData> GetIssueById(string issueId) { try { return(await Client.mc_issue_getAsync(_usr, _pwd, issueId)); } catch (System.ServiceModel.FaultException ex) { if (ex.Message.Equals("Access denied", StringComparison.InvariantCultureIgnoreCase)) { _invalidPassword = true; } throw; } }