Exemple #1
0
 private void SaveFile(FileDTO file)
 {
     try
     {
         WatcherUnitOfWork.AddFileAndSave(file);
     }
     catch (Exception)
     {
         Console.WriteLine("Can't add file to database");
     }
 }