mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
@@ -99,9 +99,9 @@ namespace BTCPayServer.Controllers
|
|||||||
Skip = skip,
|
Skip = skip,
|
||||||
Count = count,
|
Count = count,
|
||||||
Items = _db.Notifications
|
Items = _db.Notifications
|
||||||
|
.Where(a => a.ApplicationUserId == userId)
|
||||||
.OrderByDescending(a => a.Created)
|
.OrderByDescending(a => a.Created)
|
||||||
.Skip(skip).Take(count)
|
.Skip(skip).Take(count)
|
||||||
.Where(a => a.ApplicationUserId == userId)
|
|
||||||
.Select(a => _notificationManager.ToViewModel(a))
|
.Select(a => _notificationManager.ToViewModel(a))
|
||||||
.ToList(),
|
.ToList(),
|
||||||
Total = _db.Notifications.Count(a => a.ApplicationUserId == userId)
|
Total = _db.Notifications.Count(a => a.ApplicationUserId == userId)
|
||||||
|
|||||||
Reference in New Issue
Block a user