public void AddEmployeeToMultipleTablesWithThreading() { List <EmployeeModel> empList = AddEmployeetoMultipltTable(); bool expected = true; EmployeeRepo employeeRepo = new EmployeeRepo(); Stopwatch stopwatch = new Stopwatch(); stopwatch.Start(); bool actual = employeeRepo.AddEmployeeMultipleTablesWithThreading(empList); stopwatch.Stop(); Console.WriteLine("Time taken to add to db without threads is :{0} ms", stopwatch.ElapsedMilliseconds); Assert.AreEqual(expected, actual); }