Created
March 19, 2019 05:50
-
-
Save mikebrind/d04ec6b1475b63b14a79605cb90cf49f to your computer and use it in GitHub Desktop.
This file contains 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
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Latest); | |
services.AddTransient<IEmailService, DemoEmailService>(); | |
services.AddTransient<IRazorPartialToStringRenderer, RazorPartialToStringRenderer>(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment