Exemplo n.º 1
0
        public async Task <Models.PlayerSkill> PostPlayerSkill(Models.PlayerSkill playerSkill)
        {
            UriBuilder builder = new UriBuilder(AppSettings.PlayersEndpoint);

            builder.AppendToPath("Skill");
            string uri = builder.ToString();

            var token = await _loginService.GetOAuthToken();

            return(await _requestService.PostAsync <Models.PlayerSkill, Models.PlayerSkill>(uri, playerSkill, token));
        }
Exemplo n.º 2
0
 public Task <Models.PlayerSkill> PostPlayerSkill(Models.PlayerSkill playerSkill)
 {
     return(Task.FromResult(playerSkill));
 }