using System.Collections.Generic;

namespace AyaNova.Api.ControllerHelpers
{



    public class ApiOkWithPagingResponse<T>
    {

        public object Data { get; }
        public object Paging { get; }

        public ApiOkWithPagingResponse(ApiPagedResponse<T> pr)
        {
            Data = pr.items;
            Paging = pr.PageLinks;

        }
    }//eoc

    public class ApiOkWithPagingResponse
    {

        public object Data { get; }
        public object Paging { get; }
        public object Columns {get;}

        public ApiOkWithPagingResponse(ApiPagedResponse pr)
        {
            Data = pr.items;
            Paging = pr.PageLinks;
            Columns = pr.Columns;

        }
    }//eoc

}//eons