updated games controller

This commit is contained in:
Ashraful Haque 2021-02-22 07:24:26 +00:00
parent 15a1af43ee
commit 7eefb4e190
1 changed files with 1 additions and 2 deletions

View File

@ -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();
}