🗃️ Subscriptions modeling

This commit is contained in:
2025-06-12 00:48:38 +08:00
parent ebac6698ff
commit 2e09e63022
7 changed files with 226 additions and 5 deletions

View File

@ -54,6 +54,7 @@ public class WalletController(AppDatabase db, WalletService ws) : ControllerBase
var transactions = await query
.Skip(offset)
.Take(take)
.OrderByDescending(t => t.CreatedAt)
.ToListAsync();
Response.Headers["X-Total"] = transactionCount.ToString();