This commit is contained in:
@@ -1153,18 +1153,18 @@ namespace AyaNova.Biz
|
||||
|
||||
|
||||
// // //TEST TEST TEST
|
||||
if (string.IsNullOrWhiteSpace(proposedObj.Notes))
|
||||
{
|
||||
AddError(ApiErrorCode.VALIDATION_REQUIRED, "Notes");
|
||||
}
|
||||
// if (string.IsNullOrWhiteSpace(proposedObj.Notes))
|
||||
// {
|
||||
// AddError(ApiErrorCode.VALIDATION_REQUIRED, "Notes");
|
||||
// }
|
||||
// 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("generalerror"))
|
||||
// {
|
||||
// AddError(ApiErrorCode.API_SERVER_ERROR, "generalerror", "Test general error");
|
||||
// }
|
||||
// if (proposedObj.Notes != null && proposedObj.Notes.Contains("aytesterror"))
|
||||
// {
|
||||
// AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "Notes", "SAVE TEST ERROR");
|
||||
|
||||
Reference in New Issue
Block a user