This commit is contained in:
@@ -243,10 +243,6 @@ namespace AyaNova.Biz
|
|||||||
AddError(ApiErrorCode.VALIDATION_REQUIRED, "name");
|
AddError(ApiErrorCode.VALIDATION_REQUIRED, "name");
|
||||||
|
|
||||||
|
|
||||||
//test error on name
|
|
||||||
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "name", "test errror");
|
|
||||||
|
|
||||||
|
|
||||||
//if unit, it must both exist and belong to this CustomerId
|
//if unit, it must both exist and belong to this CustomerId
|
||||||
if (proposedObj.UnitId != null)
|
if (proposedObj.UnitId != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user