Esempio n. 1
0
        public bool GetLock(string jobName, TimeSpan expiryTime)
        {
            _lockedDate = DateTime.Now.ToShortTimeString();

            bool takeLock = _lockManager.GetLock(jobName, _lockedDate, expiryTime);

            return(takeLock);
        }