Merge branch 'main' into feature-commands-kick-ban-unban-user

# Conflicts:
#	dotnet/AipsWebApi/Controllers/WhiteboardController.cs
This commit is contained in:
Veljko Tosic
2026-02-11 22:20:17 +01:00
5 changed files with 18 additions and 18 deletions

View File

@@ -8,9 +8,6 @@ namespace AipsCore.Application.Models.Whiteboard.Command.CreateWhiteboard;
public record CreateWhiteboardCommand(
string OwnerId,
string Title,
DateTime CreatedAt,
DateTime DeletedAt,
int MaxParticipants,
WhiteboardJoinPolicy JoinPolicy,
WhiteboardState State)
WhiteboardJoinPolicy JoinPolicy)
: ICommand<WhiteboardId>;

View File

@@ -24,11 +24,8 @@ public class CreateWhiteboardCommandHandler : ICommandHandler<CreateWhiteboardCo
command.OwnerId,
whiteboardCode.CodeValue,
command.Title,
command.CreatedAt,
command.DeletedAt,
command.MaxParticipants,
command.JoinPolicy,
command.State);
command.JoinPolicy);
await _whiteboardRepository.SaveAsync(whiteboard, cancellationToken);
await _unitOfWork.SaveChangesAsync(cancellationToken);