/// <summary> /// Gets the blocks asynchronous. /// </summary> /// <param name="configTomlFileContent">Content of the configuration toml file.</param> /// <returns></returns> private async Task <IEnumerable <BlockJsonModel> > GetBlocksAsync(string configTomlFileContent) { var blocks = await _blockManager.GetBlocksFromFileAsync(configTomlFileContent).ConfigureAwait(false); return(blocks); }