From e31d09d1ef195bbcc1f8455d58f401125a3050a9 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 12 May 2021 16:04:48 +0300 Subject: Implemented interfaces for services in add feature template; Added an interfaces for UserService --- ExamTemplate/Web/Startup.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ExamTemplate/Web/Startup.cs') diff --git a/ExamTemplate/Web/Startup.cs b/ExamTemplate/Web/Startup.cs index 691d60f..d627c52 100644 --- a/ExamTemplate/Web/Startup.cs +++ b/ExamTemplate/Web/Startup.cs @@ -4,6 +4,7 @@ using ExamTemplate.Common; using ExamTemplate.Data; using ExamTemplate.Data.Models; using ExamTemplate.Services; +using ExamTemplate.Services.Interfaces; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Identity; @@ -38,7 +39,7 @@ namespace ExamTemplate.Web cloudName: this.Configuration.GetSection("Cloud").GetSection("cloudName").Value, apiKey: this.Configuration.GetSection("Cloud").GetSection("apiKey").Value, apiSecret: this.Configuration.GetSection("Cloud").GetSection("apiSecret").Value)); - services.AddTransient(); + services.AddTransient(); /* * Database configuration -- cgit v1.2.3