Created
April 8, 2020 21:22
-
-
Save rafaeldalsenter/61311c2af38df67d0bbc7aa0a953eaa0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 CreateClienteCommandHandler : IRequestHandler<CreateClienteCommand, CommandReturnDto> | |
| { | |
| public CreateClienteCommandHandler(/*Repositories por injeção de dependência*/) | |
| { | |
| } | |
| public Task<CommandReturnDto> Handle(CreateClienteCommand request, CancellationToken cancellationToken) | |
| { | |
| // Insere nos bancos de dados e retorna o CommandReturnDto | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment