Skip to content

Instantly share code, notes, and snippets.

@scottsauber
Created July 7, 2018 19:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save scottsauber/409d1bf0559faf03f837a47e4c5c305d to your computer and use it in GitHub Desktop.
// In Startup.cs in the ConfigureServices method
services.AddScoped<IRegisterAccountService, RegisterAccountService>();
services.AddScoped<IRazorViewToStringRenderer, RazorViewToStringRenderer>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment