Fix update AgentName
This commit is contained in:
@@ -28,4 +28,11 @@ public interface IAgentSummaryRepository
|
||||
string sortOrder,
|
||||
IEnumerable<string>? agentNames = null);
|
||||
Task<IEnumerable<AgentSummary>> GetAllAgentWithRunningBots();
|
||||
|
||||
/// <summary>
|
||||
/// Updates only the agent name for a specific user's agent summary
|
||||
/// </summary>
|
||||
/// <param name="userId">The user ID</param>
|
||||
/// <param name="agentName">The new agent name</param>
|
||||
Task UpdateAgentNameAsync(int userId, string agentName);
|
||||
}
|
||||
@@ -14,4 +14,11 @@ public interface IAgentService
|
||||
|
||||
Task<IEnumerable<AgentSummary>> GetAllAgentSummaries();
|
||||
Task<IEnumerable<string>> GetAllOnlineAgents();
|
||||
|
||||
/// <summary>
|
||||
/// Updates only the agent name for a specific user's agent summary
|
||||
/// </summary>
|
||||
/// <param name="userId">The user ID</param>
|
||||
/// <param name="agentName">The new agent name</param>
|
||||
Task UpdateAgentSummaryNameAsync(int userId, string agentName);
|
||||
}
|
||||
Reference in New Issue
Block a user