コード例 #1
0
        public IActionResult Update(Row rowIn)
        {
            Row row = _leaderboardService.Get(rowIn.ClientId);

            if (row == null)
            {
                return(NotFound());
            }

            _leaderboardService.Update(rowIn);

            return(NoContent());
        }
コード例 #2
0
 public void Put(int id, [FromBody] Leaderboard leaderboard)
 {
     _leaderboardService.Update(leaderboard);
 }