Merge branch 'dev' of https://github.com/dotnet-architecture/eShopOnContainers into dev
This commit is contained in:
commit
42d23a7da8
@ -43,7 +43,7 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.API.Controllers
|
|||||||
commandResult = await _mediator.SendAsync(command);
|
commandResult = await _mediator.SendAsync(command);
|
||||||
}
|
}
|
||||||
|
|
||||||
return commandResult ? (StatusCodeResult)Ok() : (StatusCodeResult)BadRequest();
|
return commandResult ? (IActionResult)Ok() : (IActionResult)BadRequest();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,6 +50,9 @@
|
|||||||
if (Object.ReferenceEquals(this, obj))
|
if (Object.ReferenceEquals(this, obj))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
if (this.GetType() != obj.GetType())
|
||||||
|
return false;
|
||||||
|
|
||||||
Entity item = (Entity)obj;
|
Entity item = (Entity)obj;
|
||||||
|
|
||||||
if (item.IsTransient() || this.IsTransient())
|
if (item.IsTransient() || this.IsTransient())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user