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