You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NorthwindCRUD/Controllers/ProductsController.cs
+40Lines changed: 40 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,46 @@ public ActionResult<ProductDto[]> GetAll()
43
43
}
44
44
}
45
45
46
+
/// <summary>
47
+
/// Fetches all products or a page of products based on the provided parameters.
48
+
/// </summary>
49
+
/// <param name="skip">Previously called pageNumber. The number of the page to fetch. If this parameter is not provided, all products are fetched.</param>
50
+
/// <param name="top">Previously called pageSize. The size of the page to fetch. If this parameter is not provided, all products are fetched.</param>
51
+
/// <returns>A ProductDtoCollection object containing the fetched products and the total record count.</returns>
0 commit comments