Website Summary Files Commits Branches @commit @diff @stats
path: root / API / Service / UserService.cs
diff options
context:
space:
mode:
Commite2171a923ab95ba031c08fe068a7e3ed73d0193d (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2020-12-10 18:49:06 +0200
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2020-12-10 18:49:06 +0200
Files0a5d8831a998dfc0c68d82053a948bb5112e2d2d /API/Service/UserService.cs
DevHive-e2171a923ab95ba031c08fe068a7e3ed73d0193d.tar
DevHive-e2171a923ab95ba031c08fe068a7e3ed73d0193d.tar.gz
DevHive-e2171a923ab95ba031c08fe068a7e3ed73d0193d.zip
Parentaa1f51c5988926fb3b3e35df4904f60ecae10686 (diff)
AutoMapper rework extravaganza
1 files changed, 2 insertions, 2 deletions
-rw-r--r--API/Service/UserService.cs4
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<User> _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<User>(context);
this._userMapper = mapper;