DotNetCore 2.1 -> 2.0

Certificate
Kettel instead of IISExpress
This commit is contained in:
2018-10-06 02:05:00 +02:00
parent bb6b5ee4dd
commit a44cd1321a
11 changed files with 57 additions and 26 deletions

View File

@@ -11,7 +11,7 @@ namespace LaDOSE.Api.Controllers
{
[Authorize]
[Route("api/[controller]")]
[ApiController]
[Produces("application/json")]
public class GameController : ControllerBase
{
@@ -23,7 +23,7 @@ namespace LaDOSE.Api.Controllers
}
// GET api/Config
[HttpGet]
public ActionResult<IEnumerable<Game>> Get()
public List<Game> Get()
{
return _db.Game.ToList();