Start of the Structure of event not tied to Challonge or smash.

Lads und Canzer \o>
This commit is contained in:
2022-03-20 02:59:48 +01:00
parent ab02d292da
commit 87c9883245
22 changed files with 709 additions and 445 deletions

View File

@@ -15,12 +15,12 @@ namespace LaDOSE.Api.Controllers
public class TournamentController : Controller
{
private ITournamentService _service;
private IEventService _service;
private IMapper _mapper;
// GET
public TournamentController(IMapper mapper,ITournamentService service)
public TournamentController(IMapper mapper, IEventService service)
{
_mapper = mapper;
_service = service;
@@ -49,6 +49,7 @@ namespace LaDOSE.Api.Controllers
}
var tournamentsResult = await _service.GetTournamentsResult(ids);
return _mapper.Map<TournamentsResultDTO>(tournamentsResult);
}