public CreateTimeCardManager()
 {
     logcycle    = new LogsManager();
     geotabCalls = new GeotabAPIAdapter();
     lastRunTime = new LastRecordedTime();
     paycomCalls = new PaycomAPIAdapter();
 }
        private void PaycomTask_OnRunLoop()
        {
            Log.Info("Starting Process to create punches for Paycom...");
            PaycomAPIAdapter.SendPunchesToPaycom();

            Log.Info("Updating LastRunFile...");
            LastRecordedTime.UpdateLastRunFile(DateTime.UtcNow);

            Log.Info($"Running CsvTask at {DateTime.Now}");
            IEnumerable <DutyStatusLog>   geotabLogs      = logcycle.LogRecordsToCompare();
            IEnumerable <GeotabInfoModel> geotabInfo      = logcycle.GetGeotabInfo(geotabLogs.ToList());
            IEnumerable <PaycomInfoModel> paycomInfo      = timeCardsUtility.CreatePaycomInfoModel(geotabInfo);
            IEnumerable <TimeCardModel>   mismatchPunches = timeCardsUtility.CompareGeoToPay(paycomInfo, geotabInfo);

            //Create a new method for
            csvManip.ExportResultsToCsv(mismatchPunches);
            emailUtility.SendEmailWithCsvAttached();
        }