public async Task Execute() { _logger.LogInformation("Restore started."); var token = await _authentication.GetToken().ConfigureAwait(false); await RestoreIt(token).ConfigureAwait(false); }
public async Task Execute(IJobExecutionContext context) { _logger.LogInformation("Backup Worker shift started."); var token = await _authentication.GetToken().ConfigureAwait(false); await CreateBackup(token).ConfigureAwait(false); }