This commit is contained in:
@@ -109,7 +109,7 @@ namespace AyaNova.Biz
|
||||
//
|
||||
internal async Task<Customer> PutAsync(Customer putObject)
|
||||
{
|
||||
Customer dbObject = await GetAsync(putObject.Id, false);
|
||||
var dbObject = await GetAsync(putObject.Id, false);
|
||||
if (dbObject == null)
|
||||
{
|
||||
AddError(ApiErrorCode.NOT_FOUND, "id");
|
||||
|
||||
Reference in New Issue
Block a user