예제 #1
0
        public Task <Player> CreatePlayer(Guid PlaythroughID, NewPlayer player)
        {
            Player createePlayer = new Player();

            createePlayer.id     = Guid.NewGuid();
            createePlayer.Name   = player.Name;
            createePlayer.kills  = 0;
            createePlayer.deaths = 0;
            return(IMR.CreatePlayer(PlaythroughID, createePlayer));
        }
 public Task <Player> CreatePlayer(Guid PlaythroughID, [FromBody] NewPlayer player)
 {
     return(PP.CreatePlayer(PlaythroughID, player));
 }