public void UpdateConfiguration(Configuration config) { var stringModel = JsonConvert.SerializeObject(config); var expirationTicks = config?.Company?.CacheTimeoutTicks; var expiration = expirationTicks != null ? new TimeSpan?(new TimeSpan(expirationTicks.Value)) : null; _database.StringSet(SUBSCRIO_CONFIG_KEY, stringModel, expiration); }
public void UpdateConfiguration(Configuration config) { }