updated games controller
This commit is contained in:
parent
15a1af43ee
commit
7eefb4e190
|
|
@ -1,5 +1,4 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using TestApplication.Models;
|
||||
|
||||
|
|
@ -21,7 +20,7 @@ namespace TestApplication.Controllers
|
|||
}
|
||||
|
||||
[HttpGet]
|
||||
public IEnumerable<Games> GetGames_List()
|
||||
public ActionResult<IEnumerable<Games>> GetGames_List()
|
||||
{
|
||||
return GetGames();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue