This commit is contained in:
@@ -100,11 +100,11 @@ namespace AyaNova.Biz
|
||||
|
||||
//OwnerId required
|
||||
if (inObj.OwnerId == 0)
|
||||
AddError(ValidationErrorType.RequiredPropertyEmpty, "OwnerId");
|
||||
AddError(ApiErrorCode.VALIDATION_REQUIRED, "OwnerId");
|
||||
|
||||
//OwnerId required
|
||||
if (inObj.UserId == 0)
|
||||
AddError(ValidationErrorType.RequiredPropertyEmpty, "UserId");
|
||||
AddError(ApiErrorCode.VALIDATION_REQUIRED, "UserId");
|
||||
|
||||
//LOOKAT:Validate email address is legitimate (I put the EMailAddress attribute on the field in the model so I think it might validate)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user