using Microsoft.AspNetCore.Mvc;
using System.Text.Json;
namespace NeDvachAPI.Controllers
{
[ApiController]
[Route("[controller]")]
public class PostToController : ControllerBase
[HttpPost(Name = "PostPosts")]
public void ReceivePost([FromBody] Post ReceivedPost)
DBchat.SendPost(ReceivedPost);
}