[CHANGE] Finished impl required data for client
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user