public static GalleryExportList GetGalleryExport(Guid galleryID) { GalleryExportList lstG = null; try { string sXML = ContentImportExportUtils.GetSerialized(galleryID); lstG = ContentImportExportUtils.GetSerialData <GalleryExportList>(sXML) as GalleryExportList; } catch (Exception ex) { } return(lstG); }
public static GalleryExportList DeserializeGalleryExport(string sXML) { GalleryExportList lstG = ContentImportExportUtils.GetSerialData <GalleryExportList>(sXML) as GalleryExportList; return(lstG); }