Created
January 3, 2024 13:09
-
-
Save vmussak/a9a914aae48cd05038b64ef0a9606c3e to your computer and use it in GitHub Desktop.
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
public class ClienteController : ControllerBase | |
{ | |
private readonly IMensagemBoasVindas _mensagemBoasVindas; | |
public ClienteController([FromKeyedServices("Padrao")] IMensagemBoasVindas mensagemBoasVindas) | |
{ | |
_mensagemBoasVindas = mensagemBoasVindas; | |
} | |
//demais métodos... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment