private ModelRound GetRound(CacheRound round) { return(new ModelRound { Time = round.Time, Winner = round.Winner, TerroristScore = round.TerroristScore, CounterTerroristScore = round.CounterTerroristScore, Kills = round.Kills.Select(kill => GetKill(kill)).ToList(), }); }
private DateTime?GetRoundTime(CacheRound round) { return(round != null ? round.Time : (DateTime?)null); }