17 lines
425 B
C#
17 lines
425 B
C#
using HackerNet.Application;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace HackerNet.Api.Controllers;
|
|
|
|
[ApiController]
|
|
[Route("/api/comments")]
|
|
public class CommentsController : ControllerBase
|
|
{
|
|
[HttpGet("{id:guid}")]
|
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
|
[ProducesResponseType(StatusCodes.Status404NotFound)]
|
|
public ActionResult<LinkComment> GetById(Guid id)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
} |