Replies: 1 comment 7 replies
-
I would realy like to know that as well. So I can get the list of departments based on user and show the viable departments to active user if he is in the list of Users for in the department. Please help :) Mybe we should move the Identity models to the domain project. Where we can reference it then by other Entities. But that might be the wrong way of doing it. But the problem is the reference of the Interfaces public class BlazorHeroUser : IdentityUser, IChatUser, IAuditableEntity I have found the way to do this. Please someone confirm this is the correct way So in Domain I create 2 entities
In Application I create
In Infrastructure I do this
BlazorHeroUser I add this
|
Beta Was this translation helpful? Give feedback.
-
In reference to current project architecture where should I create new entity model when I want to create sth like Department Entity? Each of department will have list of Users ( BlazorHeroUser class ) so creating department model class in Domain project will cause circular dependency for Infrastructure project.
Any suggestions how to deal with it?
Maybe all models or just BlazorHeroUser from Infrastructure project should be moved to other project which doesnt have dependency from Application Domain.
What do you think about that?
Beta Was this translation helpful? Give feedback.
All reactions