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