From e2171a923ab95ba031c08fe068a7e3ed73d0193d Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 10 Dec 2020 18:49:06 +0200 Subject: AutoMapper rework extravaganza --- API/Service/UserService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'API/Service/UserService.cs') diff --git a/API/Service/UserService.cs b/API/Service/UserService.cs index ce90d0c..c673fac 100644 --- a/API/Service/UserService.cs +++ b/API/Service/UserService.cs @@ -15,9 +15,9 @@ namespace API.Service public class UserService { private readonly DbRepository _dbRepository; - private readonly Mapper _userMapper; + private readonly IMapper _userMapper; - public UserService(DevHiveContext context, Mapper mapper) + public UserService(DevHiveContext context, IMapper mapper) { this._dbRepository = new DbRepository(context); this._userMapper = mapper; -- cgit v1.2.3