public async Task Atualizar(int id, [FromBody] Item item) { await _repositorio.Atualizar(item); }
public async Task <IActionResult> Alterar(long id, [FromBody] Item item, CancellationToken ct = default) { return(CustomResponse(await _itemService.Atualizar(item, ct))); }