Add Tournament in Result DTO

Add a SpreadSheet for result
+ Fixes
This commit is contained in:
2019-05-30 22:06:02 +02:00
parent 0e08bec6f3
commit 3d73071925
5 changed files with 172 additions and 77 deletions

View File

@@ -13,18 +13,26 @@ namespace LaDOSE.Entity.Challonge
public class Result
{
public Result(string player, int gameId, int point)
public Result(string player, int gameId, int point) : this(player, gameId, 0, point)
{
}
public Result(string player, int gameId, int tournamentdId, int point)
{
Player = player;
GameId = gameId;
Point = point;
TournamentdId = tournamentdId;
}
public Result()
{
}
public int TournamentdId { get; set; }
public int GameId { get; set; }
public string Player { get; set; }
public int Point { get; set; }