using Base; using CSRedis; namespace Common { public class RedisServer { public static CSRedisClient Cache; public static CSRedisClient Session; public static void Initalize() { Cache = new CSRedisClient(AppSettings.GetConfig("RedisServer:Cache")); Session = new CSRedisClient(AppSettings.GetConfig("RedisServer:Session")); } } }