This commit is contained in:
24
server/AyaNova/ControllerHelpers/ApiPagedResponse.cs
Normal file
24
server/AyaNova/ControllerHelpers/ApiPagedResponse.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System.Collections.Generic;
|
||||
using AyaNova.Models;
|
||||
|
||||
namespace AyaNova.Api.ControllerHelpers
|
||||
{
|
||||
|
||||
|
||||
|
||||
public class ApiPagedResponse<T>
|
||||
{
|
||||
|
||||
public T[] items { get; }
|
||||
public object PageLinks { get; }
|
||||
|
||||
public ApiPagedResponse(T[] returnItems, object pageLinks)
|
||||
{
|
||||
items = returnItems;
|
||||
PageLinks = pageLinks;
|
||||
|
||||
}
|
||||
}//eoc
|
||||
|
||||
|
||||
}//eons
|
||||
Reference in New Issue
Block a user