From c1e2098e6792602df4fe7db5401ecd8823538622 Mon Sep 17 00:00:00 2001 From: SharifovDeveloper Date: Mon, 8 Apr 2024 14:57:07 +0500 Subject: [PATCH 1/3] Created Helper file --- Inflow.Api/Inflow.Api.csproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Inflow.Api/Inflow.Api.csproj b/Inflow.Api/Inflow.Api.csproj index 391ae48..698a5ac 100644 --- a/Inflow.Api/Inflow.Api.csproj +++ b/Inflow.Api/Inflow.Api.csproj @@ -35,4 +35,8 @@ + + + + From 572f8f6aaa2b7687d9eaf0afeb3a79d31df6e632 Mon Sep 17 00:00:00 2001 From: SharifovDeveloper Date: Mon, 8 Apr 2024 14:58:12 +0500 Subject: [PATCH 2/3] Created ResourceLink --- Inflow.Api/Helper/ResourceLink.cs | 26 ++++++++++++++++++++++++++ Inflow.Api/Inflow.Api.csproj | 4 ---- 2 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 Inflow.Api/Helper/ResourceLink.cs diff --git a/Inflow.Api/Helper/ResourceLink.cs b/Inflow.Api/Helper/ResourceLink.cs new file mode 100644 index 0000000..79f1d48 --- /dev/null +++ b/Inflow.Api/Helper/ResourceLink.cs @@ -0,0 +1,26 @@ +namespace Inflow.Api.Helper +{ + public class ResourceLink + { + public string? Rel { get; set; } + public string? Href { get; set; } + public string? Method { get; set; } + + public ResourceLink() + { + } + + public ResourceLink(string? rel, string? href) + { + Rel = rel; + Href = href; + } + + public ResourceLink(string? rel, string? href, string? method) + : this(rel, href) + { + Method = method; + } + } +} + diff --git a/Inflow.Api/Inflow.Api.csproj b/Inflow.Api/Inflow.Api.csproj index 698a5ac..391ae48 100644 --- a/Inflow.Api/Inflow.Api.csproj +++ b/Inflow.Api/Inflow.Api.csproj @@ -35,8 +35,4 @@ - - - - From aec872ce8b2725e99144477e8fa748aafebda4c4 Mon Sep 17 00:00:00 2001 From: SharifovDeveloper Date: Mon, 8 Apr 2024 14:58:50 +0500 Subject: [PATCH 3/3] Created ResourceType --- Inflow.Api/Helper/ResourceType.cs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Inflow.Api/Helper/ResourceType.cs diff --git a/Inflow.Api/Helper/ResourceType.cs b/Inflow.Api/Helper/ResourceType.cs new file mode 100644 index 0000000..615b79e --- /dev/null +++ b/Inflow.Api/Helper/ResourceType.cs @@ -0,0 +1,9 @@ +namespace Inflow.Api.Helper +{ + public enum ResourceType + { + CurrentPage, + NextPage, + PreviousPage, + } +}