From 7c44a037215524f84f17b145587cbf5c138f3d50 Mon Sep 17 00:00:00 2001 From: Eric <36512385+PhucNghi176@users.noreply.github.com> Date: Thu, 17 Oct 2024 19:15:23 +0700 Subject: [PATCH] fix again --- .../UserCases/Commands/Groups/CreateGroupCommandHandler.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MBS_COMMAND.Application/UserCases/Commands/Groups/CreateGroupCommandHandler.cs b/MBS_COMMAND.Application/UserCases/Commands/Groups/CreateGroupCommandHandler.cs index f793cc7..0a7dc2a 100644 --- a/MBS_COMMAND.Application/UserCases/Commands/Groups/CreateGroupCommandHandler.cs +++ b/MBS_COMMAND.Application/UserCases/Commands/Groups/CreateGroupCommandHandler.cs @@ -19,9 +19,8 @@ public async Task Handle(Command.CreateGroupCommand request, Cancellatio var G = new Group { Name = request.Name, - MentorId = request.MentorId, Stack = request.Stacks, - // LeaderId = L + LeaderId = L }; G.Members!.Add(new Group_Student_Mapping { StudentId = L, GroupId = G.Id }); repositoryBase.Add(G);