diff --git a/src/Infrastructure/BotSharp.Core/Instructs/Functions/ExecuteTemplateFn.cs b/src/Infrastructure/BotSharp.Core/Instructs/Functions/ExecuteTemplateFn.cs index b81c5691..2684ae02 100644 --- a/src/Infrastructure/BotSharp.Core/Instructs/Functions/ExecuteTemplateFn.cs +++ b/src/Infrastructure/BotSharp.Core/Instructs/Functions/ExecuteTemplateFn.cs @@ -1,6 +1,4 @@ using BotSharp.Abstraction.Functions; -using BotSharp.Abstraction.Infrastructures; -using BotSharp.Abstraction.Instructs; using BotSharp.Abstraction.Instructs.Models; namespace BotSharp.Core.Instructs.Functions; diff --git a/src/Plugins/BotSharp.Plugin.MongoStorage/Repository/MongoRepository.AgentCode.cs b/src/Plugins/BotSharp.Plugin.MongoStorage/Repository/MongoRepository.AgentCode.cs index c0fd21b7..e07f3c8c 100644 --- a/src/Plugins/BotSharp.Plugin.MongoStorage/Repository/MongoRepository.AgentCode.cs +++ b/src/Plugins/BotSharp.Plugin.MongoStorage/Repository/MongoRepository.AgentCode.cs @@ -72,7 +72,7 @@ public partial class MongoRepository return true; } - public bool InsertAgentCodeScripts(string agentId, List scripts) + public bool BulkInsertAgentCodeScripts(string agentId, List scripts) { if (string.IsNullOrWhiteSpace(agentId) || scripts.IsNullOrEmpty()) { @@ -91,7 +91,7 @@ public partial class MongoRepository return true; } - public bool BulkInsertAgentCodeScripts(string agentId, List? scriptNames) + public bool DeleteAgentCodeScripts(string agentId, List? scriptNames) { if (string.IsNullOrWhiteSpace(agentId)) {