Extracting grid paging to partial

This commit is contained in:
rockstardev
2020-07-19 17:04:29 -05:00
parent 7bcc559ec7
commit 8f293db29b
5 changed files with 91 additions and 79 deletions

View File

@@ -8,13 +8,8 @@ using PaymentRequestData = BTCPayServer.Data.PaymentRequestData;
namespace BTCPayServer.Models.PaymentRequestViewModels
{
public class ListPaymentRequestsViewModel
public class ListPaymentRequestsViewModel : BasePagingViewModel
{
public int Skip { get; set; }
public int Count { get; set; }
public int Total { get; set; }
public string SearchTerm { get; set; }
public int? TimezoneOffset { get; set; }
public List<ViewPaymentRequestViewModel> Items { get; set; }
}