diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-05-12 16:04:48 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-05-12 16:04:48 +0300 |
| commit | e31d09d1ef195bbcc1f8455d58f401125a3050a9 (patch) | |
| tree | 645ad8a63face3b306abc8ca8d68d1f46703ff84 /ExamTemplate/Web/Controllers | |
| parent | 2b1bfcd50bfc34762f8a2ed57d5099037062bd75 (diff) | |
| download | it-kariera-exam-template-e31d09d1ef195bbcc1f8455d58f401125a3050a9.tar it-kariera-exam-template-e31d09d1ef195bbcc1f8455d58f401125a3050a9.tar.gz it-kariera-exam-template-e31d09d1ef195bbcc1f8455d58f401125a3050a9.zip | |
Implemented interfaces for services in add feature template; Added an interfaces for UserService
Diffstat (limited to 'ExamTemplate/Web/Controllers')
| -rw-r--r-- | ExamTemplate/Web/Controllers/AccountController.cs | 6 |
1 files changed, 3 insertions, 3 deletions
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; |
