public Guid ExportItems(List <long> ids, ApiCall call) { var site = call.WebSite; if (site == null) { return(default(Guid)); } var exportfile = ImportExport.ExportBatch(site.SiteDb(), ids); if (string.IsNullOrWhiteSpace(exportfile)) { throw new Exception(Data.Language.Hardcoded.GetValue("You have no changes", call.Context)); } else { var guid = Cache.TempDownloadZip.AddPath(exportfile); return(guid); } }