public bool InitializeMaster(Tracer tracer) { //archiive unprocessed logs. try { repository.ArchiveTraceFiles(); var masterData = CreateMasterData(tracer); return(repository.SaveMaster(masterData).Result); } catch (Exception ex) { _logger.Error(ex); return(false); } }