public IActionResult GetMatches() { var matchEntities = _matchInfoRepository.GetMatches(); return(Ok(_mapper.Map <IEnumerable <MatchWithoutOddsDto> >(matchEntities))); }