public async Task <IActionResult> UpdateValue(int id, [FromBody] Value value) { var valueToUpdate = await _repo.UpdateValueAsync(id, value); return(Ok("Value updated")); }