feat: WIP connections query endpoint

This commit is contained in:
2024-12-26 14:41:24 +01:00
parent 63bbf80ced
commit 9f5099c819
7 changed files with 81 additions and 32 deletions

View File

@@ -0,0 +1,7 @@
namespace ConnectionsAPI.Models.Request;
public class QueryPuzzlesRequest
{
[QueryParam] public int Page { get; set; }
[QueryParam] public int Count { get; set; }
}

View File

@@ -0,0 +1,8 @@
namespace ConnectionsAPI.Models.Response;
public record PagedDataResponse<T>(
int Page,
int Count,
int MaxCount,
ICollection<T> Data
);