Tests passed using Mock
This commit is contained in:
@ -56,7 +56,7 @@ public partial class InboundController : ControllerBase, IInboundController<IAct
|
||||
{
|
||||
string? json = GetJson(Request.Body);
|
||||
DataResponse dataResponse = _InboundRepository.Data(_MetrologyRepository, _InboundDataService, tooltype, json);
|
||||
if (!dataResponse.Errors.Any())
|
||||
if (dataResponse.Errors.Count == 0)
|
||||
return Ok(dataResponse);
|
||||
else
|
||||
return BadRequest(dataResponse);
|
||||
|
Reference in New Issue
Block a user