From a1e46b76a1299e35b1ac8cae69e77c66d74224a6 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 8 May 2021 16:49:17 +0300 Subject: Moved user repository logic into user service logic (no more repos) --- ExamTemplate/Web/Startup.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ExamTemplate/Web') diff --git a/ExamTemplate/Web/Startup.cs b/ExamTemplate/Web/Startup.cs index 9c43601..0754bff 100644 --- a/ExamTemplate/Web/Startup.cs +++ b/ExamTemplate/Web/Startup.cs @@ -2,7 +2,6 @@ using System; using System.Linq; using ExamTemplate.Data; using ExamTemplate.Data.Models; -using ExamTemplate.Data.Repositories; using ExamTemplate.Services; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; @@ -14,7 +13,7 @@ using Microsoft.Extensions.Hosting; namespace Web { - public class Startup + public class Startup { public Startup(IConfiguration configuration) { @@ -34,7 +33,6 @@ namespace Web */ services.AddTransient(); - services.AddTransient(); /* * Database configuration -- cgit v1.2.3