Fix errors and add commas,

This commit is contained in:
Dmitriy yawaflua Andreev
2024-07-30 22:32:12 +03:00
parent 7266036ccf
commit 72ac5a8429
5 changed files with 135 additions and 50 deletions

View File

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