This repository has been archived on 2023-06-30. You can view files and clone it, but cannot push or open issues or pull requests.
2chBackAPI/Controllers/TestPosting.cs

18 lines
381 B
C#
Raw Normal View History

2022-10-18 20:35:11 +10:00
using Microsoft.AspNetCore.Mvc;
using System.Text.Json;
namespace NeDvachAPI.Controllers
{
[ApiController]
[Route("[controller]")]
public class TestPostingController : ControllerBase
{
2022-10-18 22:35:19 +10:00
[HttpPost]
2022-10-18 22:40:27 +10:00
public int Area(int altitude , int height)
2022-10-18 20:35:11 +10:00
{
//DBchat.SendPost(ReceivedPost);
2022-10-18 22:40:27 +10:00
return altitude+height;
2022-10-18 20:35:11 +10:00
}
}
}