thanks to my new devenv
This commit is contained in:
parent
3b14d585a2
commit
6c9601909a
7 changed files with 3 additions and 11 deletions
|
|
@ -1,5 +1,3 @@
|
|||
using System;
|
||||
|
||||
namespace test.Settings
|
||||
{
|
||||
public class DbConnectionSettings
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ using Yavsc.Models;
|
|||
using Yavsc.Services;
|
||||
using Microsoft.Data.Entity;
|
||||
using Microsoft.Extensions.WebEncoders;
|
||||
using Yavsc.Lib;
|
||||
using test.Settings;
|
||||
|
||||
namespace test
|
||||
|
|
@ -62,7 +61,7 @@ namespace test
|
|||
services.AddEntityFramework().AddNpgsql().AddDbContext<ApplicationDbContext>();
|
||||
services.AddTransient((s) => new RazorTemplateEngine(s.GetService<RazorEngineHost>()));
|
||||
services.AddLogging();
|
||||
services.AddTransient<EMailer>();
|
||||
services.AddTransient<MailSender>();
|
||||
services.AddLocalization(options =>
|
||||
{
|
||||
options.ResourcesPath = "Resources";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue