Test tournament result.

This commit is contained in:
2019-05-29 02:15:31 +02:00
parent 1f5961cdd0
commit 959b3e922a
11 changed files with 124 additions and 20 deletions

View File

@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Collections.Generic;
using AutoMapper;
using LaDOSE.Business.Interface;
using LaDOSE.DTO;
@@ -92,12 +90,6 @@ namespace LaDOSE.Api.Controllers
return _service.CreateChallonge(gameId, wpEventId, additionalPlayer);
}
[HttpGet("GetTournaments")]
public async Task<List<Tuple<int, string, string>>> GetChallonge()
{
var game = await _service.GetTournaments(DateTime.Now.AddMonths(-2), null);
return game;
}
}
}