public static bool SetCache(BussCache value) { return(SetCache(value, Global.REDIS_EXPIRY_H, Global.REDIS_EXPIRY_M, Global.REDIS_EXPIRY_S)); }
public static bool SetCache(BussCache value, int hours, int minutes, int seconds) { string key = value.GetType().FullName + value.Unique; return(SetCache(key, value, hours, minutes, seconds)); }