This commit is contained in:
@@ -1131,12 +1131,17 @@ namespace AyaNova.Biz
|
|||||||
|
|
||||||
|
|
||||||
// //TEST TEST TEST
|
// //TEST TEST TEST
|
||||||
if(proposedObj.Notes.Contains("blah")){
|
if (proposedObj.Notes.Contains("blah"))
|
||||||
|
{
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
if (proposedObj.Notes != null && proposedObj.Notes.Contains("generalerror"))
|
||||||
|
{
|
||||||
|
AddError(ApiErrorCode.API_SERVER_ERROR, "generalerror", "Test general error");
|
||||||
|
}
|
||||||
if (proposedObj.Notes != null && proposedObj.Notes.Contains("aytesterror"))
|
if (proposedObj.Notes != null && proposedObj.Notes.Contains("aytesterror"))
|
||||||
{
|
{
|
||||||
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, $"Notes", "SAVE TEST ERROR");
|
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "Notes", "SAVE TEST ERROR");
|
||||||
}
|
}
|
||||||
|
|
||||||
//Check state if updatable right now
|
//Check state if updatable right now
|
||||||
|
|||||||
Reference in New Issue
Block a user