Skip to content

Commit e2b6580

Browse files
Update BasketController.cs
1 parent aee9ec7 commit e2b6580

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Services/Basket/Basket.API/Controllers/BasketController.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public BasketController(IBasketRepository repository)
1818
{
1919
_repository = repository;
2020
}
21-
// GET api/values/5
21+
// GET /id
2222
[HttpGet("{id}")]
2323
public async Task<IActionResult> Get(string id)
2424
{
@@ -27,7 +27,7 @@ public async Task<IActionResult> Get(string id)
2727
return Ok(basket);
2828
}
2929

30-
// POST api/values
30+
// POST /value
3131
[HttpPost]
3232
public async Task<IActionResult> Post([FromBody]CustomerBasket value)
3333
{
@@ -36,7 +36,7 @@ public async Task<IActionResult> Post([FromBody]CustomerBasket value)
3636
return Ok(basket);
3737
}
3838

39-
// DELETE api/values/5
39+
// DELETE /id
4040
[HttpDelete("{id}")]
4141
public void Delete(string id)
4242
{

0 commit comments

Comments
 (0)