Initial commit
This commit is contained in:
commit
612509ac25
18 changed files with 4614 additions and 0 deletions
15
EM-Qual/Model.cs
Normal file
15
EM-Qual/Model.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
namespace EMQual;
|
||||
|
||||
/// <summary>
|
||||
/// Match result for a single team.
|
||||
/// </summary>
|
||||
/// <param name="TeamName">Name of the team</param>
|
||||
/// <param name="Goals">Number of goals scored by this team</param>
|
||||
public record TeamResult(string TeamName, int Goals);
|
||||
|
||||
/// <summary>
|
||||
/// Match results for one game.
|
||||
/// </summary>
|
||||
/// <param name="HomeTeam">Match result for the home team</param>
|
||||
/// <param name="GuestTeam">Match result for the guest team</param>
|
||||
public record Match(TeamResult HomeTeam, TeamResult GuestTeam);
|
||||
Loading…
Add table
Add a link
Reference in a new issue