public BackupStatusReport GetBackupStatus(Guid siteId) { try { BitplateBackupServiceReference.BackupServiceClient backupClient = new BitplateBackupServiceReference.BackupServiceClient(); return(JSONSerializer.Deserialize <BackupStatusReport>(backupClient.GetBackupStatus(siteId), true)); } catch (Exception ex) { BackupStatusReport exceptioReport = new BackupStatusReport(); exceptioReport.BackupCompleted = true; exceptioReport.StatusMessage = "Kan BitBackupService niet vinden.\r\n" + ex.ToString(); return(exceptioReport); } }
public BackupStatusReport GetBackupStatus() { BitplateBackupServiceReference.BackupServiceClient backupClient = new BitplateBackupServiceReference.BackupServiceClient(); return(JSONSerializer.Deserialize <BackupStatusReport>(backupClient.GetBackupStatus(SessionObject.CurrentSite.ID), true)); }