Browse Source

Change "you should..." to "instead, ..."

pull/825/head
Hsu Still GitHub 8 years ago
parent
commit
bd34aa7931
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      docs/guides/commands/commands.md

+ 2
- 2
docs/guides/commands/commands.md View File

@@ -46,8 +46,8 @@ ASP.NET Core's Controller pattern. This means that the lifetime of a
module instance is only as long as the Command is being invoked.

**Avoid using long-running code** in your modules wherever possible.
You should **not** be implementing very much logic into your modules;
you should outsource to a service for that.
You should **not** be implementing very much logic into your modules,
instead, outsource to a service for that.

If you are unfamiliar with Inversion of Control, it is recommended to
read the MSDN article on [IoC] and [Dependency Injection].


Loading…
Cancel
Save