public static ICache GetCurrentCache(CacheSupport type) { switch (type) { case CacheSupport.Test: return(new TestCacheImp()); case CacheSupport.Redis: break; default: break; } return(null); }
public static ICache GetCurrentCache(CacheSupport type) { switch (type) { case CacheSupport.Test: return new TestCacheImp(); case CacheSupport.Redis: break; default: break; } return null; }