Skip to content

Instantly share code, notes, and snippets.

@carloscds
Created February 25, 2020 03:39
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/3a23ae91925768ac5220441b14a163a2 to your computer and use it in GitHub Desktop.
Save carloscds/3a23ae91925768ac5220441b14a163a2 to your computer and use it in GitHub Desktop.
public void ConfigureServices(IServiceCollection services)
{
services.AddControllers();
services.AddSingleton<IServico, Servico>();
services.AddSingleton<ExecutaServico, ExecutaServico>();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment