public async Task <ActionResult <ICollection <Dashboard> > > Search([FromQuery] SearchQueryDashboard query)
        {
            var mapQuery    = _mapper.Map <SearchQueryDashboard, Domain.Entities.SearchQueryDashboard>(query);
            var userContext = _currentUserContext.Get();

            mapQuery.UserId = userContext.UserId;
            var queryResults = await _dashboardService.Search(mapQuery);

            var queryResultsContract = _mapper.Map <ICollection <Dashboard> >(queryResults);

            return(Ok(queryResultsContract));
        }
        public async Task <IEnumerable <Dashboard> > Search(SearchQueryDashboard query)
        {
            var searchDashboard = await _dashboardRepository.Search(query);

            return(searchDashboard);
        }