C
C#14mo ago
JUK_Karol

❔ ✅ AutoMapper DI

How can I use dependency injection in AutoMapper class?
3 Replies
cumslvt13
cumslvt1314mo ago
You're doing entirely wrong thing here. You're putting your application logic inside mapping Token creation logic and password hashing should be handled in IUserService.CreateUser (or smth similiar)
JUK_Karol
JUK_Karol14mo ago
Oh I was think about that, but its look for me like bad practices. So much thanks!!!!
Accord
Accord14mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.