public ActionResult <IEnumerable <Result> > GetAllResults()
        {
            var results = _trxResultsDbRepository.GetResults();

            if (results == null)
            {
                return(NotFound());
            }

            return(Ok(_mapper.Map <ResultDto>(results)));
        }
        public ActionResult GetResultsCollection(IEnumerable <int> resultsIds)
        {
            if (resultsIds == null)
            {
                return(BadRequest());
            }

            var results = _trxResultsDbRepository.GetResults(resultsIds);

            if (results.Count() != results.Count())
            {
                return(NotFound());
            }

            return(Ok(_mapper.Map <IEnumerable <ResultDto> >(results)));
        }