Example #1
0
        public async Task <ActionResult <PutPlayerItemResponse> > PutPlayerItem(long playerId, PutPlayerItemRequest request)
        {
            // todo: validation
            var response = await _playerService.PutPlayerItem(playerId, request);

            return(Ok(response));
        }
Example #2
0
 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));
        }