private async Task <BankDataSheet> GetAccountData(string account, DateTime startDate, DateTime endDate) { this.sessionId = await this.LoginAndGetSessionId(); AccountOperations accountOperations = new AccountOperations(this.client, this.sessionId, this.sequence); XDocument document = await accountOperations.GetAccountData(account, startDate, endDate); this.oldDataManager.StoreData(document, account); return(this.xmlTransformer.TransformXml(document)); }