This commit is contained in:
2019-03-29 17:05:49 +00:00
parent 431c715890
commit b1d78b9fe5
9 changed files with 80 additions and 80 deletions

View File

@@ -38,7 +38,7 @@ namespace AyaNova.Biz
object propertyValue = proposedObject.GetType().GetProperty(RequiredPropertyName).GetValue(proposedObject, null);
if (propertyValue == null || string.IsNullOrWhiteSpace(propertyValue.ToString()))
biz.AddError(ValidationErrorType.RequiredPropertyEmpty, FldLtKey);
biz.AddError(ApiErrorCode.VALIDATION_REQUIRED, FldLtKey);
}
}