public void Test_Redis() { var key = "data"; var value = "kkk"; //需要加入appsettings.json 給APISample.dll讀取mongo url _demo.RedisSet(key, value); _demo.RedisGet(key); Assert.True(value.Equals(_demo.Data)); }
public void Test_Redis() { var key = "data"; var value = "kkk"; //需要加入appsettings.json 給APISample.dll讀取mongo url _demo.RedisSet(key, value); _demo.RedisGet(key); Assert.True(value.Equals(_demo.Data)); }