예제 #1
0
        public bool ItemExist(string key)
        {
            if (string.IsNullOrWhiteSpace(key))
            {
                throw new ArgumentException("Parameter is invalid.", "key", null);
            }

            try
            {
                return(_db.KeyExists(key));
            }
            catch (Exception)
            {
                throw;
            }
            finally
            { }
        }