Added Test echo posting2
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cd5d50f06b
commit
13acfdc7da
@ -7,11 +7,11 @@ namespace NeDvachAPI.Controllers
|
|||||||
[Route("[controller]")]
|
[Route("[controller]")]
|
||||||
public class TestPostingController : ControllerBase
|
public class TestPostingController : ControllerBase
|
||||||
{
|
{
|
||||||
[HttpPost("{text}", Name = "ReceivePost")]
|
[HttpPost]
|
||||||
public string ReceivePost(string text)
|
public string Area(int altitude , int height)
|
||||||
{
|
{
|
||||||
//DBchat.SendPost(ReceivedPost);
|
//DBchat.SendPost(ReceivedPost);
|
||||||
return text;
|
return $"Первое значение {altitude} и второе значение {height}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user