Refactoring

This commit is contained in:
Veljko Tosic
2026-02-19 14:13:34 +01:00
parent 7177446470
commit 83db13ef53
4 changed files with 12 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
using AipsCore.Domain.Models.User.ValueObjects;
namespace AipsCore.Domain.Models.Whiteboard;
public partial class Whiteboard
{
public bool CanUserDelete(UserId userId)
{
return WhiteboardOwnerId.IdValue == userId.IdValue;
}
}