public WorkspaceCollection ListWorkspaces(long?pageLimit = null, bool?includeCount = null, string sort = null, string cursor = null) { try { var result = AssistantRepository.ListWorkspaces(pageLimit, includeCount, sort, cursor); return(result); } catch (Exception ex) { Logger.Error("AssistantService.ListWorkspaces failed", this, ex); } return(null); }