public async Task <IActionResult> GetAllGroupMembers(string agentGroupId)
 {
     try
     {
         var result = _agentManager.GetAllMembersInGroup(agentGroupId);
         return(Ok(result));
     }
     catch (Exception ex)
     {
         return(ex.GetActionResult());
     }
 }