This commit is contained in:
@@ -43,6 +43,12 @@ namespace AyaNova.Biz
|
||||
IsValid = false;
|
||||
}
|
||||
|
||||
if (objectPatch.Operations.Any(m => m.path == "/serial"))
|
||||
{
|
||||
biz.AddError(ValidationErrorType.NotChangeable, "Serial");
|
||||
IsValid = false;
|
||||
}
|
||||
|
||||
if (objectPatch.Operations.Any(m => m.op == "add"))
|
||||
{
|
||||
biz.AddError(ValidationErrorType.InvalidOperation, "add");
|
||||
|
||||
Reference in New Issue
Block a user