0
sukhdeep.dhillon created
- ABP Framework version: v7.2.2
- UI Type: Angular
- Database System: EF Core (SQL Server)
Hi, I know we shouldn't add ICurrentUser in domain layer because domain layer should be independent of current user. but I have some logic in the domain which I don't want to expose to the outer layer but I need current user Id for that logic. how can I handle this.
is that okay to access ICurrentUser in domain manager?
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
1 Answer(s)
-
0
Hi,
It's ok
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)