示例#1
0
        public async Task <IActionResult> UpdateValue(int id, [FromBody] Value value)
        {
            var valueToUpdate = await _repo.UpdateValueAsync(id, value);

            return(Ok("Value updated"));
        }