Commit 6a4268cd authored by Savorboard's avatar Savorboard

update samples

parent 32b64ac1
......@@ -26,7 +26,7 @@ namespace Sample.Kafka.MySql.Controllers
//your business code here
await _capBus.PublishAsync("xxx.xxx.test2", 123456, transaction);
await _capBus.PublishAsync("xxx.xxx.test2", 123456);
transaction.Commit();
}
......
......@@ -21,8 +21,6 @@ namespace Sample.Kafka.MySql
public void Configure(IApplicationBuilder app)
{
app.UseMvc();
app.UseCap();
}
}
}
\ No newline at end of file
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