This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user