Вроде усе
This commit is contained in:
@@ -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");
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user