От: | Glestwid | ||
Дата: | 06.03.20 23:22 | ||
Оценка: |
[ApiController]
[Route("api/[controller]")]
public class TestServiceController : ControllerBase
{
[HttpGet("{id}")]
public async Task<IEnumerable<TestAccountDto>> GetTestAccounts(long id)
{
...
}
}
curl -k -s http://localhost:65027/testservice/1