Generic Controller Test
This commit is contained in:
18
LaDOSE.Src/LaDOSE.Api/Controllers/SeasonController.cs
Normal file
18
LaDOSE.Src/LaDOSE.Api/Controllers/SeasonController.cs
Normal 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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user