Generic Controller Test

This commit is contained in:
2018-10-12 20:52:59 +02:00
parent 39075051b2
commit e47c1ccb5e
12 changed files with 102 additions and 58 deletions

View File

@@ -0,0 +1,18 @@
using LaDOSE.Business.Interface;
using LaDOSE.Business.Service;
using LaDOSE.Entity;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace LaDOSE.Api.Controllers
{
[Authorize]
[Route("api/[controller]")]
[Produces("application/json")]
public class SeasonController : GenericController<ISeasonService,Season>
{
public SeasonController(ISeasonService service) : base(service)
{
}
}
}