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/Controllers/AccountController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ExamTemplate/Web/Controllers/AccountController.cs') diff --git a/ExamTemplate/Web/Controllers/AccountController.cs b/ExamTemplate/Web/Controllers/AccountController.cs index a7ad771..b7a1207 100644 --- a/ExamTemplate/Web/Controllers/AccountController.cs +++ b/ExamTemplate/Web/Controllers/AccountController.cs @@ -1,4 +1,4 @@ -using ExamTemplate.Services; +using ExamTemplate.Services.Interfaces; using Microsoft.AspNetCore.Mvc; using ExamTemplate.Web.Models.User; using AutoMapper; @@ -12,9 +12,9 @@ namespace ExamTemplate.Web.Controllers public class AccountController : Controller { private readonly IMapper _autoMapper; - private readonly UserService _userService; + private readonly IUserService _userService; - public AccountController(IMapper autoMapper, UserService userService) + public AccountController(IMapper autoMapper, IUserService userService) { this._autoMapper = autoMapper; this._userService = userService; -- cgit v1.2.3