BudgetAnalyser.Engine.Statement.StatementRepository.LoadAsync C# (CSharp) Method

LoadAsync() public method

public LoadAsync ( string storageKey, bool isEncrypted ) : Task
storageKey string
isEncrypted bool
return Task
        public async Task<StatementModel> LoadAsync(string storageKey, bool isEncrypted)
        {
            if (storageKey == null)
            {
                throw new FileNotFoundException("storageKey");
            }

            return await this.statementModelRepository.LoadAsync(storageKey, isEncrypted);
        }