public async Task <IActionResult> BackupNow(string backup)
 {
     if (backup == "backup_now")
     {
         await _createBackup.Create();
     }
     return(RedirectToAction("Backup", "Home"));
 }
 public async Task StartAsync(CancellationToken cancellationToken)
 {
     await Task.Factory.StartNew(async() =>
     {
         while (!cancellationToken.IsCancellationRequested)
         {
             await _createBackup.Create();
             await Task.Delay(await GetTime());
         }
     });
 }