minor change
This commit is contained in:
parent
ed8a1d8890
commit
bc500a4dfa
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ public partial class MongoRepository
|
|||
return true;
|
||||
}
|
||||
|
||||
public bool InsertAgentCodeScripts(string agentId, List<AgentCodeScript> scripts)
|
||||
public bool BulkInsertAgentCodeScripts(string agentId, List<AgentCodeScript> scripts)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(agentId) || scripts.IsNullOrEmpty())
|
||||
{
|
||||
|
|
@ -91,7 +91,7 @@ public partial class MongoRepository
|
|||
return true;
|
||||
}
|
||||
|
||||
public bool BulkInsertAgentCodeScripts(string agentId, List<string>? scriptNames)
|
||||
public bool DeleteAgentCodeScripts(string agentId, List<string>? scriptNames)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(agentId))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue