public async Task <IActionResult> DevolverVeiculo(DevolucaoInputModel devolucaoInput, CancellationToken ctx) { var result = await _veiculoApplication.DevolverVeiculo(devolucaoInput, ctx); if (result.Valid) { return(Ok(result.Object)); } return(UnprocessableEntity(result.Notifications)); }