You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
505 B
26 lines
505 B
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace MovieFinder_API.controllers
|
|
{
|
|
[ApiController]
|
|
[Route("api/[controller]")]
|
|
public class SuggestedController : Controller
|
|
{
|
|
|
|
public int[] suggestedMovies = new int[]
|
|
{
|
|
677179,315162,76600
|
|
};
|
|
// GET: SuggestedController
|
|
[Produces("application/json")]
|
|
[HttpGet]
|
|
public async Task<IActionResult> Get()
|
|
{
|
|
return Ok(suggestedMovies);
|
|
}
|
|
|
|
|
|
}
|
|
}
|