public async Task OnGet(int id) { PlayerDetailInfo = await _player.GetWithStatsById(id); }
public PlayerDetailModel(IPlayer player) { _player = player; PlayerDetailInfo = new PlayerDetailResponse(); }
public async Task OnGet(int id) { PlayerDetailInfo = await _player.GetWithStatsById(id); }
public PlayerDetailModel(IPlayer player) { _player = player; PlayerDetailInfo = new PlayerDetailResponse(); }