C
C#2y ago
JUK_Karol

❔ ✅ AutoMapper DI

How can I use dependency injection in AutoMapper class?
3 Replies
cumslvt13
cumslvt132y 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_KarolOP2y ago
Oh I was think about that, but its look for me like bad practices. So much thanks!!!!
Accord
Accord2y 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.

Did you find this page helpful?