2018-10-07 15:15:11 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using LaDOSE.Business.Interface;
|
|
|
|
|
|
using LaDOSE.Entity;
|
2018-10-22 01:13:42 +02:00
|
|
|
|
using LaDOSE.Entity.Wordpress;
|
|
|
|
|
|
using Microsoft.AspNetCore.Authorization;
|
2018-10-07 15:15:11 +02:00
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
|
|
|
|
|
|
namespace LaDOSE.Api.Controllers
|
|
|
|
|
|
{
|
2022-03-22 00:14:46 +01:00
|
|
|
|
[AllowAnonymous]
|
|
|
|
|
|
//[Authorize]
|
2018-10-07 15:15:11 +02:00
|
|
|
|
[Produces("application/json")]
|
|
|
|
|
|
[Route("api/[controller]")]
|
2018-10-12 20:52:59 +02:00
|
|
|
|
public class EventController : GenericController<IEventService, Event>
|
2018-10-07 15:15:11 +02:00
|
|
|
|
{
|
2018-10-22 01:13:42 +02:00
|
|
|
|
private IGameService _gameService;
|
|
|
|
|
|
|
|
|
|
|
|
public EventController(IEventService service,IGameService gameService) : base(service)
|
2018-10-07 15:15:11 +02:00
|
|
|
|
{
|
2018-10-22 01:13:42 +02:00
|
|
|
|
this._gameService = gameService;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2019-03-09 14:03:25 +01:00
|
|
|
|
|
2018-10-07 15:15:11 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|