Merge branch 'main' into feature-commands-kick-ban-unban-user
# Conflicts: # dotnet/AipsWebApi/Controllers/WhiteboardController.cs
This commit is contained in:
@@ -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>;
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user