public async Task <ViewDefinitionList> List(ViewQuery viewQuery = null) { try { var result = await ViewRepository.List(viewQuery); return(result); } catch (Exception ex) { Logger.Error("ViewService.List failed", this, ex); } return(null); }