This commit is contained in:
@@ -1,42 +1,42 @@
|
||||
using System.Collections.Generic;
|
||||
using AyaNova.Models;
|
||||
// using System.Collections.Generic;
|
||||
// using AyaNova.Models;
|
||||
|
||||
namespace AyaNova.Api.ControllerHelpers
|
||||
{
|
||||
// namespace AyaNova.Api.ControllerHelpers
|
||||
// {
|
||||
|
||||
|
||||
|
||||
public class ApiPagedResponse<T>
|
||||
{
|
||||
// // public class ApiPagedResponse<T>
|
||||
// // {
|
||||
|
||||
public T[] items { get; }
|
||||
public object PageLinks { get; }
|
||||
public object Columns { get; }
|
||||
// // public T[] items { get; }
|
||||
// // public object PageLinks { get; }
|
||||
// // public object Columns { get; }
|
||||
|
||||
public ApiPagedResponse(T[] returnItems, object pageLinks, object columns = null)
|
||||
{
|
||||
items = returnItems;
|
||||
PageLinks = pageLinks;
|
||||
Columns = Columns;
|
||||
// // public ApiPagedResponse(T[] returnItems, object pageLinks, object columns = null)
|
||||
// // {
|
||||
// // items = returnItems;
|
||||
// // PageLinks = pageLinks;
|
||||
// // Columns = Columns;
|
||||
|
||||
}
|
||||
}//eoc
|
||||
// // }
|
||||
// // }//eoc
|
||||
|
||||
public class ApiPagedResponse
|
||||
{
|
||||
// public class ApiPagedResponse
|
||||
// {
|
||||
|
||||
public object items { get; }
|
||||
public object PageLinks { get; }
|
||||
public Newtonsoft.Json.Linq.JArray Columns { get; }
|
||||
// public object items { get; }
|
||||
// public object PageLinks { get; }
|
||||
// public Newtonsoft.Json.Linq.JArray Columns { get; }
|
||||
|
||||
public ApiPagedResponse(object returnItems, object pageLinks, Newtonsoft.Json.Linq.JArray columns)
|
||||
{
|
||||
items = returnItems;
|
||||
PageLinks = pageLinks;
|
||||
Columns = columns;
|
||||
// public ApiPagedResponse(object returnItems, object pageLinks, Newtonsoft.Json.Linq.JArray columns)
|
||||
// {
|
||||
// items = returnItems;
|
||||
// PageLinks = pageLinks;
|
||||
// Columns = columns;
|
||||
|
||||
}
|
||||
}//eoc
|
||||
// }
|
||||
// }//eoc
|
||||
|
||||
|
||||
}//eons
|
||||
// }//eons
|
||||
Reference in New Issue
Block a user