public static List <ProductTypeInfo> ReadList() { if (CacheHelper.Read(cacheKey) == null) { CacheHelper.Write(cacheKey, dal.ReadList()); } return((List <ProductTypeInfo>)CacheHelper.Read(cacheKey)); }
public static List <ProductTypeInfo> ReadList() { if (CacheHelper.Read(cacheKey) == null) { CacheHelper.Write(cacheKey, dal.ReadList()); } return((List <ProductTypeInfo>)CacheHelper.Read(cacheKey)); }