diff --git a/docs/content/user-guide/en/getting-started/quick-start.md b/docs/content/user-guide/en/getting-started/quick-start.md index eb620f0..ef41462 100644 --- a/docs/content/user-guide/en/getting-started/quick-start.md +++ b/docs/content/user-guide/en/getting-started/quick-start.md @@ -36,7 +36,7 @@ public void ConfigureServices(IServiceCollection services) public class PublishController : Controller { [Route("~/send")] - public IActionResult SendMessage([FromService]ICapPublisher capBus) + public IActionResult SendMessage([FromServices]ICapPublisher capBus) { capBus.Publish("test.show.time", DateTime.Now); diff --git a/docs/content/user-guide/zh/getting-started/quick-start.md b/docs/content/user-guide/zh/getting-started/quick-start.md index 47f80c0..ec8eae0 100644 --- a/docs/content/user-guide/zh/getting-started/quick-start.md +++ b/docs/content/user-guide/zh/getting-started/quick-start.md @@ -36,7 +36,7 @@ public void ConfigureServices(IServiceCollection services) public class PublishController : Controller { [Route("~/send")] - public IActionResult SendMessage([FromService]ICapPublisher capBus) + public IActionResult SendMessage([FromServices]ICapPublisher capBus) { capBus.Publish("test.show.time", DateTime.Now);