aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/BaseJellyfinApiController.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2023-01-19 10:09:32 +0100
committerShadowghost <Ghost_of_Stone@web.de>2023-01-19 10:09:32 +0100
commit656a0bff6fd48ba66cfe8fc7b470380c38afbac2 (patch)
treea89f0545050bf6672936c6e7ea3e2b0e5c5561f2 /Jellyfin.Api/BaseJellyfinApiController.cs
parentef085483b2ef54195e16f282330a3c204e3227b6 (diff)
parentd57dcf22452db4990aa2cdece3eb798ba98b8330 (diff)
Merge remote-tracking branch 'upstream/master' into network-rewrite
Diffstat (limited to 'Jellyfin.Api/BaseJellyfinApiController.cs')
-rw-r--r--Jellyfin.Api/BaseJellyfinApiController.cs18
1 files changed, 0 insertions, 18 deletions
diff --git a/Jellyfin.Api/BaseJellyfinApiController.cs b/Jellyfin.Api/BaseJellyfinApiController.cs
index 0c63d24b7..e327831fe 100644
--- a/Jellyfin.Api/BaseJellyfinApiController.cs
+++ b/Jellyfin.Api/BaseJellyfinApiController.cs
@@ -23,24 +23,6 @@ namespace Jellyfin.Api
/// <param name="value">The value to return.</param>
/// <typeparam name="T">The type to return.</typeparam>
/// <returns>The <see cref="ActionResult{T}"/>.</returns>
- protected ActionResult<IEnumerable<T>> Ok<T>(List<T> value)
- => new OkResult<IEnumerable<T>>(value);
-
- /// <summary>
- /// Create a new <see cref="OkResult{T}"/>.
- /// </summary>
- /// <param name="value">The value to return.</param>
- /// <typeparam name="T">The type to return.</typeparam>
- /// <returns>The <see cref="ActionResult{T}"/>.</returns>
- protected ActionResult<IEnumerable<T>> Ok<T>(IReadOnlyList<T> value)
- => new OkResult<IEnumerable<T>>(value);
-
- /// <summary>
- /// Create a new <see cref="OkResult{T}"/>.
- /// </summary>
- /// <param name="value">The value to return.</param>
- /// <typeparam name="T">The type to return.</typeparam>
- /// <returns>The <see cref="ActionResult{T}"/>.</returns>
protected ActionResult<IEnumerable<T>> Ok<T>(IEnumerable<T>? value)
=> new OkResult<IEnumerable<T>?>(value);