This commit is contained in:
@@ -108,10 +108,10 @@ namespace AyaNova.Api.Controllers
|
|||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Update Integration
|
/// Update Integration to db and return it
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="updatedObject"></param>
|
/// <param name="updatedObject"></param>
|
||||||
/// <returns></returns>
|
/// <returns>Entire integration object (differs from most object routes which only return concurrency value)</returns>
|
||||||
[HttpPut]
|
[HttpPut]
|
||||||
public async Task<IActionResult> PutIntegration([FromBody] Integration updatedObject)
|
public async Task<IActionResult> PutIntegration([FromBody] Integration updatedObject)
|
||||||
{
|
{
|
||||||
@@ -130,7 +130,7 @@ namespace AyaNova.Api.Controllers
|
|||||||
else
|
else
|
||||||
return BadRequest(new ApiErrorResponse(biz.Errors));
|
return BadRequest(new ApiErrorResponse(biz.Errors));
|
||||||
}
|
}
|
||||||
return Ok(ApiOkResponse.Response(new { Concurrency = o.Concurrency })); ;
|
return Ok(ApiOkResponse.Response(o)); ;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user