Display list of games (#16)
Co-authored-by: Maxime Adler <madler@sqli.com> Reviewed-on: #16
This commit was merged in pull request #16.
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
namespace GameIdeas.BlazorApp.Shared.Constants;
|
||||
using GameIdeas.Shared.Dto;
|
||||
|
||||
namespace GameIdeas.BlazorApp.Shared.Constants;
|
||||
|
||||
public static class Endpoints
|
||||
{
|
||||
public static class Game
|
||||
{
|
||||
public static readonly string Create = "api/Game/Create";
|
||||
public static string Fetch(PaggingDto pagging) =>
|
||||
$"api/Game?{nameof(pagging.CurrentPage)}={pagging.CurrentPage}&{nameof(pagging.NumberPerPage)}={pagging.NumberPerPage}";
|
||||
}
|
||||
|
||||
public static class Category
|
||||
|
||||
Reference in New Issue
Block a user