public void GivenListOfEmployeesWhenAddedShouldMatchTheEntriesUsingThreadingAndSynchronisation()
        {
            List <EmployeeDetails> employeeDetails = CreateList();
            ///adding into list  with threading and synchronisation
            DateTime startDateTime = DateTime.Now;

            employeePayrollOperations.AddEmployeeToPayrollUsingThreadingWithSynchronisation(employeeDetails);
            DateTime finishDateTime = DateTime.Now;

            Console.WriteLine("Duration with timer watch {0}", finishDateTime - startDateTime);

            ///Adding into DataBase with threading and synchronisation
            DateTime startDateTime1 = DateTime.Now;

            employeePayrollOperations.addEmployeeToDataBaseWithThread(employeeDetails);
            DateTime finishDateTime1 = DateTime.Now;

            Console.WriteLine("Duration with timer watch  {0}", finishDateTime1 - startDateTime1);
        }