refacto BlogPost

This commit is contained in:
Paul Schneider 2026-08-19 14:09:31 +01:00
commit e35bc273a3
Signed by: notazof
GPG key ID: 1DD5D838E5343B06
17 changed files with 177 additions and 203 deletions

View file

@ -1,7 +1,6 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
using Yavsc.Abstract.Identity;
using Yavsc.Abstract.Identity.Security;
using Yavsc.Models.Access;
using Yavsc.Models.Relationship;
@ -69,7 +68,7 @@ namespace Yavsc.Models.Blog
public ICircleAuthorization[] GetACL()
{
return ACL.ToArray();
return ACL?.ToArray() ?? Array.Empty<ICircleAuthorization>();
}
public void Tag(Tag tag)