From 7dad7f6aaef3c160c482b7620ddbeb285e39bc4f Mon Sep 17 00:00:00 2001 From: rak Date: Tue, 18 Oct 2022 22:40:27 +1000 Subject: [PATCH] Added Test echo posting2 --- Controllers/TestPosting.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Controllers/TestPosting.cs b/Controllers/TestPosting.cs index c036eef..da917f4 100644 --- a/Controllers/TestPosting.cs +++ b/Controllers/TestPosting.cs @@ -8,10 +8,10 @@ namespace NeDvachAPI.Controllers public class TestPostingController : ControllerBase { [HttpPost] - public string Area(int altitude , int height) + public int Area(int altitude , int height) { //DBchat.SendPost(ReceivedPost); - return $"Первое значение {altitude} и второе значение {height}"; + return altitude+height; } } }