public async Task <TestResult> QueryThousandItems() { var testResult = new TestResult(); testResult.TestType = (int)TestType.ThousandQuery; // Insert result for realm var realmResult = _realmRepository.QueryThousand(); // Insert result for Sqlite var sqlResult = await _sqliteRepository.QueryThousand(); // Save testresult testResult.RealmMilliseconds = realmResult; testResult.SqlMilliseconds = sqlResult; return(testResult); }