public JsonNetResult Restore(Backup backup) { if (BackupRoutine.Restore(backup)) { return(JsonNet.JsonOK()); } return(JsonNet.JsonError(Resources.Global.Backup_RestoreFailed)); }
public JsonNetResult BackupNow() { if (BackupRoutine.SingleBackup()) { return(JsonNet.JsonOK()); } return(JsonNet.JsonError(Resources.Global.Backup_Failed)); }