Вроде усе

This commit is contained in:
2025-06-07 17:57:26 +04:00
parent f91a3cfca8
commit 50491ec87b
16 changed files with 707 additions and 34 deletions

View File

@@ -20,12 +20,9 @@ namespace ClassLibrary1
throw new ValidationException("Id is Guid");
if (Title.IsEmpty())
throw new ValidationException("Field Id is empty");
if (!Title.IsGuid())
throw new ValidationException("Id is Guid");
if (Tema.IsEmpty())
throw new ValidationException("Field Id is empty");
if (!Tema.IsGuid())
throw new ValidationException("Id is Guid");
}
}
}