private bool TryGetAppLock()
        {
            var appLock = new AppLock(dbContext, lockResourceName);

            appLockDisposer.Disposable = appLock;
            return(appLock.IsAcquired);
        }
 private bool TryGetAppLock()
 {
     var appLock = new AppLock(dbContext, lockResourceName);
     appLockDisposer.Disposable = appLock;
     return appLock.IsAcquired;
 }