private void OnViewExported(List <ILibraryEntity> entities, string path, FileStorageType storageType)
 {
     if (storageType == FileStorageType.Raw)
     {
         rawFileRepository.Export(entities, path);
     }
     if (storageType == FileStorageType.Xml)
     {
         xmlRepository.Export(entities, path);
     }
 }