Commit f5b9c048 authored by yangxiaodong's avatar yangxiaodong

refactor

parent 117d5556
...@@ -30,7 +30,7 @@ namespace Sample.Kafka ...@@ -30,7 +30,7 @@ namespace Sample.Kafka
services.AddDbContext<AppDbContext>(); services.AddDbContext<AppDbContext>();
services.AddConsistency<ConsistencyMessage>() services.AddConsistency()
.AddEntityFrameworkStores<AppDbContext>() .AddEntityFrameworkStores<AppDbContext>()
.AddKafka(); .AddKafka();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment