private async Task LoadAndPrint(string testOperation) { Task <List <T> > loadTask = _webAPI.Load(); await loadTask; NeatPrintMultiple(loadTask.Result, $"{_tableName} {testOperation}"); }
private async Task LoadAndPrint() { Task <List <T> > loadTask = _webAPI.Load(); await loadTask; PrintMultipleRecords(loadTask.Result); }