Fix backup (#5)
This commit is contained in:
@@ -7,8 +7,8 @@ namespace Managing.Application.Abstractions;
|
||||
|
||||
public interface IBotService
|
||||
{
|
||||
void SaveBotBackup(BotBackup botBackup);
|
||||
void SaveBotBackup(string name, Enums.BotType botType, string data);
|
||||
void SaveOrUpdateBotBackup(BotBackup botBackup);
|
||||
void SaveOrUpdateBotBackup(string name, Enums.BotType botType, string data);
|
||||
void AddSimpleBotToCache(IBot bot);
|
||||
void AddTradingBotToCache(ITradingBot bot);
|
||||
List<ITradingBot> GetActiveBots();
|
||||
@@ -31,4 +31,5 @@ public interface IBotService
|
||||
Task<string> StopBot(string requestName);
|
||||
Task<bool> DeleteBot(string requestName);
|
||||
Task<string> RestartBot(string requestName);
|
||||
void DeleteBotBackup(string backupBotName);
|
||||
}
|
||||
Reference in New Issue
Block a user