public async Task <IActionResult> Delete(string id) => await Task.Run(() => Ok(new { player = _repo.DeletePlayer(ExtensionUtility.ParseID(id)) }));
public async Task <IActionResult> Put(string id, [FromBody] Player player) => await Task.Run(() => Ok(new { player = _repo.UpdatePlayer(ExtensionUtility.ParseID(id), player) }));