public async Task <ActionResult <PutPlayerItemResponse> > PutPlayerItem(long playerId, PutPlayerItemRequest request) { // todo: validation var response = await _playerService.PutPlayerItem(playerId, request); return(Ok(response)); }
public async Task <EvoToolApiResponse> PutPlayerItem(long playerId, PutPlayerItemRequest request) { return(await _playerRepository.PutPlayerItem(playerId, request)); }
public async Task <EvoToolApiResponse> PutPlayerItem(long playerId, PutPlayerItemRequest request) { var response = await PutAsync($"/api/gmtool/player/{playerId}/item", request); return(await BuildResponse(response)); }
public async Task <ActionResult <PutPlayerItemResponse> > PutPlayerItem(long playerId, PutPlayerItemRequest request) { var result = await _playerService.PutPlayerItem(playerId, request); return(BuildResponse(result)); }