/// <summary>
 /// Метод добавляющий журналы!!!
 /// </summary>
 /// <param name="pathJournalXml">Путь к Журналам с ошибками</param>
 public void AddJournal(string pathJournalXml)
 {
     if (Directory.Exists(pathJournalXml))
     {
         var fileLogic = new FileLogica();
         XmlReportJournal.Clear();
         foreach (var file in FileLogica.FileinfoMass(pathJournalXml))
         {
             XmlReportJournal.Add(new ReportJournalProperty()
             {
                 Icon = fileLogic.Extracticonfile(file.FullName), Name = file.Name, Path = file.FullName, InfoFile = ModelInfoFile.FirstOrDefault(x => x.ModelNameFileXml == file.Name)?.FileInfoFile
             });
         }
     }
 }
 public void DeleteXmlReportJournal()
 {
     File.Delete(XmlFile.Path);
     XmlReportJournal.Remove(XmlReportJournal.Single(fullPath => fullPath.Path == XmlFile.Path));
 }