[CHANGE] Finished impl required data for client

This commit is contained in:
max
2025-09-08 01:40:43 +02:00
parent b2c6003203
commit b2c9fc2c52
10 changed files with 199 additions and 228 deletions

View File

@@ -1,3 +1,4 @@
using DotBased.Monads;
using Manager.YouTube;
namespace Manager.App.Services.System;
@@ -17,4 +18,19 @@ public class ClientManager : BackgroundService
{
// Clear up
}
public async Task<Result> SaveClientAsync(YouTubeClient client)
{
return ResultError.Fail("Not implemented");
}
public async Task<Result<YouTubeClient>> LoadClientByIdAsync(string id)
{
if (string.IsNullOrWhiteSpace(id))
{
return ResultError.Fail("Client ID is empty!");
}
return ResultError.Fail("Not implemented");
}
}