Created
September 17, 2022 00:58
-
-
Save benjaminvanrenterghem/35cf0b2936f4f81e50ec3f978d23e717 to your computer and use it in GitHub Desktop.
IMediator DI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// #1 Middels dependency injection wordt een IMediator instantie voorzien | |
public UserController(IMediator mediator) { | |
_mediator = mediator; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment