Beispiel #1
0
 public ScoreCardController()
 {
     _comentry         = new Commentry();
     _scoreCard        = new ScoreCard();
     _scoreCardService = new ScoreCardService();
 }
 public void DesplayScore(ScoreCard scoreCard)
 {
     Console.WriteLine($"Commentry : {scoreCard.Commentry} \nRun = {ScoreCard.Run}\nWicket = {ScoreCard.Wicket}");
     Console.WriteLine($"Total Score : {ScoreCard.Run}/{ScoreCard.Wicket} {scoreCard.TotalOver} Overs");
 }