Skip to content

Instantly share code, notes, and snippets.

@carloscds
Created February 25, 2020 03:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carloscds/2e172e64ed98c0678345d753c7a316fc to your computer and use it in GitHub Desktop.
Save carloscds/2e172e64ed98c0678345d753c7a316fc to your computer and use it in GitHub Desktop.
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers();
services.AddScoped<IServico, Servico>();
services.AddScoped<ExecutaServico, ExecutaServico>();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment