Race horse name without country on runners
SuccessfulCode/BritishHorseRacingApi/master This commit looks good
SuccessfulCode/BritishHorseRacingApi/master This commit looks good
This commit is contained in:
@@ -138,5 +138,6 @@ namespace BritishHorseRacingApi.Models
|
||||
public LastRun[] LastRuns { get; set; }
|
||||
|
||||
public decimal? DecimalOdds() => DataConverterHelper.FractionOddsToDecimal(Odds);
|
||||
public string RacehorseNameWithoutCountry => RacehorseName.Split('(')[0].Trim();
|
||||
}
|
||||
}
|
||||
@@ -51,6 +51,6 @@ namespace BritishHorseRacingApi.Models
|
||||
|
||||
public int? LossMilliseconds() => DataConverterHelper.StopwatchStringDifferenceToMilliseconds(FinishTime);
|
||||
|
||||
public string RacehorseNameWithoutConuntry => RacehorseName.Split('(')[0].Trim();
|
||||
public string RacehorseNameWithoutCountry => RacehorseName.Split('(')[0].Trim();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user