WebApi + ClientApp, GraphQL, Reflection
This commit is contained in:
13
Events-WebApi/Events.WebAPI.Contract/DTOs/Items.cs
Normal file
13
Events-WebApi/Events.WebAPI.Contract/DTOs/Items.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace Events.WebAPI.Contract.DTOs;
|
||||
|
||||
/// <summary>
|
||||
/// Contains requested items (based on filter, paging and sorting criteria),
|
||||
/// and the number of total items satisfying the filter
|
||||
/// (or count of all items if no filter is present)
|
||||
/// </summary>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
public class Items<T>
|
||||
{
|
||||
public List<T>? Data { get; set; }
|
||||
public int Count { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user