mirror of
https://github.com/yawaflua/Telegram-Bot-Template.git
synced 2025-12-10 20:39:34 +02:00
Fix errors and add commas,
This commit is contained in:
@@ -2,10 +2,23 @@ using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace TG_Bot_Template.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// Example controller
|
||||
/// </summary>
|
||||
[ApiController]
|
||||
[Route("[controller]")]
|
||||
public class ExampleController : ControllerBase
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Just example endpoing
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("ping")]
|
||||
[Produces("application/json")]
|
||||
[ProducesResponseType(200)]
|
||||
public async Task<IActionResult> Pong()
|
||||
{
|
||||
return Ok("Pong!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user