public ActionResult ListTableauViews() { GenericAjaxResponse <List <AHP.Core.DTO.TableauViewInfo> > apiResponse = new GenericAjaxResponse <List <AHP.Core.DTO.TableauViewInfo> >(); try { apiResponse = _restClient.GetTableauViews(); } catch (Exception ex) { _logger.Info("Error occured getting tableau workbook views list", ex); apiResponse.Success = false; apiResponse.Errors.Add("Could not process your request"); } return(Json(apiResponse)); }