Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor group creation and update entity models #11

Merged
merged 2 commits into from
Oct 8, 2024

Conversation

PhucNghi176
Copy link
Collaborator

Updated CreateGroupCommandHandler.cs to include a new repository for User entities, allowing mentor existence checks before group creation. Modified group creation logic to use a new Group object initializer.

Refactored Group.cs to inherit from Entity instead of AggregateRoot, made property setters public, and removed the constructor and Create method.

Added a comment in User.cs to explain possible values for the Status property.

PhucNghi176 and others added 2 commits October 9, 2024 01:30
Updated CreateGroupCommandHandler.cs to include a new repository for User entities, allowing mentor existence checks before group creation. Modified group creation logic to use a new Group object initializer.

Refactored Group.cs to inherit from Entity instead of AggregateRoot, made property setters public, and removed the constructor and Create method.

Added a comment in User.cs to explain possible values for the Status property.
@PhucNghi176 PhucNghi176 merged commit ef5adc0 into main Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant