mirror of
https://git.recroomarchive.org/RecRoomArchive/RRAC.git
synced 2026-09-08 06:31:25 -07:00
387ec7ba89
Added basic info to get in game for like...August 2016 ;-; It's not much but it's a start
18 lines
598 B
C#
18 lines
598 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using RecRoomArchive.Models.API.Activities;
|
|
using RecRoomArchive.Services;
|
|
|
|
namespace RecRoomArchive.Controllers.API.Activities.Charades.V1
|
|
{
|
|
[Route(template: "api/[controller]/charades/v1")]
|
|
[ApiController]
|
|
public class ActivitiesController(MessageOfTheDayService motdService) : ControllerBase
|
|
{
|
|
// TODO: Move out of MOTD service
|
|
[HttpGet(template: "words")]
|
|
public async Task<ActionResult<List<CharadesWord>>> GetCharadesWords()
|
|
{
|
|
return Ok(await motdService.GetCharadesWordsList());
|
|
}
|
|
}
|
|
} |