Created
April 8, 2020 21:33
-
-
Save rafaeldalsenter/7fc68fce9aa018eb70fe8a79564d27b3 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 static void RegisterServices(IServiceCollection services, IConfiguration configuration) | |
| { | |
| ... | |
| services.AddScoped<IRequestHandler<CreateClienteCommand, CommandReturnDto>, CreateClienteCommandHandler>(); | |
| services.AddScoped<IRequestHandler<RemoveClienteCommand, CommandReturnDto>, RemoveClienteCommandHandler>(); | |
| services.AddScoped<IRequestHandler<UpdateClienteCommand, CommandReturnDto>, UpdateClienteCommandHandler>(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment