Added author to shape model

This commit is contained in:
Veljko Tosic
2026-02-09 23:48:54 +01:00
parent 1f6af52f14
commit 0d08a64e6f
9 changed files with 37 additions and 8 deletions

View File

@@ -5,6 +5,7 @@ namespace AipsCore.Application.Models.Shape.Command.CreateRectangle;
public record CreateRectangleCommand(
string WhiteboardId,
string AuthorId,
int PositionX,
int PositionY,
string Color,

View File

@@ -21,6 +21,7 @@ public class CreateRectangleCommandHandler : ICommandHandler<CreateRectangleComm
{
var rectangle = Rectangle.Create(
command.WhiteboardId,
command.AuthorId,
command.PositionX, command.PositionY,
command.Color,
command.EndPositionX,