Skip to content

Instantly share code, notes, and snippets.

@CoreProgramm
Created January 26, 2020 17:44
Show Gist options
  • Save CoreProgramm/a1c46a937d9d7601171ebf13f4249b8f to your computer and use it in GitHub Desktop.
Save CoreProgramm/a1c46a937d9d7601171ebf13f4249b8f to your computer and use it in GitHub Desktop.
public void ConfigureServices(IServiceCollection services)
{
services.Configure<MailConfig>(Configuration.GetSection("mailConfig"));
services.AddControllersWithViews();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment