From 6d7e84c33a7fe5114660a7da7216205292ff4bbc Mon Sep 17 00:00:00 2001 From: Darkstack <1835601+darkstack@users.noreply.github.com> Date: Thu, 30 May 2019 00:42:24 +0200 Subject: [PATCH] TournamentDTO --- LaDOSE.Src/LaDOSE.DTO/TournamentDTO.cs | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/LaDOSE.Src/LaDOSE.DTO/TournamentDTO.cs b/LaDOSE.Src/LaDOSE.DTO/TournamentDTO.cs index 13cc9ef..ac5686e 100644 --- a/LaDOSE.Src/LaDOSE.DTO/TournamentDTO.cs +++ b/LaDOSE.Src/LaDOSE.DTO/TournamentDTO.cs @@ -1,4 +1,5 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; namespace LaDOSE.DTO { @@ -14,7 +15,21 @@ namespace LaDOSE.DTO { public int Id { get; set; } public string Name { get; set; } - public int? Rank { get; set; } + public int Rank { get; set; } public bool? IsMember{ get; set; } } + + public class TournamentsResultDTO + { + public List Participents { get; set; } + public List Games { get; set; } + + public List Results { get; set; } + } + public class ResultDTO + { + public int GameId { get; set; } + public string Player { get; set; } + public int Point { get; set; } + } } \ No newline at end of file