public EntityExport GetEntity(string workspaceId, string entity, bool?export = null) { try { var result = AssistantRepository.GetEntity(workspaceId, entity, export); return(result); } catch (Exception ex) { Logger.Error("AssistantService.GetEntity failed", this, ex); } return(null); }