code: private List< Dashboard > findExistingDashboardsFromRequest( DashboardRemoteRequest request ) {
          String businessService = request.getMetaData().getBusinessService();
          String businessApplication = request.getMetaData().getBusinessApplication();
  
          if( !StringUtils.isEmpty( businessService ) && !StringUtils.isEmpty( businessApplication ) ){
             return dashboardRepository.findAllByConfigurationItemBusServNameContainingIgnoreCaseAndConfigurationItemBusAppNameContainingIgnoreCase( businessService, businessApplication );
          }else {
             return dashboardRepository.findByTitle( request.getMetaData().getTitle() );
          }
      }
docs: Takes a DashboardRemoteRequest. If the request contains a Business Service and Business Application then returns dashboard. Otherwise,
  Checks dashboards for existing Title and returns dashboards.
  @param request
  @return  List< Dashboard >