Skip to content

Commit ef4f831

Browse files
committed
Add httpget attribute
1 parent b7e2468 commit ef4f831

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

NorthwindCRUD/Controllers/CustomersController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public ActionResult<CustomerDto[]> GetAll()
4848
/// <returns>
4949
/// An <see cref="ActionResult{T}"/> containing an array of <see cref="CustomerDto"/> objects.
5050
/// </returns>
51+
[HttpGet("WithOrders")]
5152
public ActionResult<CustomerDto[]> GetAllCustomersWithOrders()
5253
{
5354
try

0 commit comments

Comments
 (0)