Creation des Challonges a partir des Event WordPress

This commit is contained in:
2018-10-08 23:33:18 +02:00
parent 70b5ea54f7
commit 39075051b2
10 changed files with 264 additions and 114 deletions

View File

@@ -33,10 +33,10 @@ namespace LaDOSE.Api.Controllers
}
[HttpGet("Generate/{dto}")]
public bool GenerateChallonge(int dto)
[HttpGet("Generate/{eventId}/{wpEventId}")]
public bool GenerateChallonge(int eventId, int wpEventId)
{
return _eventService.CreateChallonge(dto);
return _eventService.CreateChallonge(eventId, wpEventId);
}
}