add PagedResult generic class to support paginated responses
This commit is contained in:
11
0_Framework/Application/PagedResult.cs
Normal file
11
0_Framework/Application/PagedResult.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace _0_Framework.Application;
|
||||
|
||||
public class PagedResult<T,TMeta>
|
||||
{
|
||||
public int TotalCount { get; set; }
|
||||
public List<T> List { get; set; }
|
||||
public TMeta? Meta { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user