public bool Delete(string id)
        {
            var flagDoc = GetOne(id);

            var isSuccess = _repository.Delete <FlagSetting>(id);

            if (isSuccess)
            {
                _redisCache.Remove(flagDoc.Name);
            }

            return(isSuccess);
        }