예제 #1
0
 public async Task Post([FromBody] Bidder bidder)
 {
     bidder.Id = new Guid();
     await _mongoService.CreateAsync("Bidders", bidder);
 }
 public async Task Post([FromBody] Player player)
 {
     player.Id = new Guid();
     await _mongoService.CreateAsync("Players", player);
 }