public static IEnumerable <Currency> GetAllCurrency()
        {
            var cache = RuntimeCache.BuildCache();
            var data  = cache.Get <IEnumerable <Currency> >("CurrencyKey");

            if (data != null && data.Any())
            {
                return(data);
            }
            var sql = "SELECT * FROM Currency WHERE CurrencyId > 0";

            data = DataProvider.GetConnection().Query <Currency>(sql);
            cache.Put("CurrencyKey", data);
            return(data);
        }