public TeamMatches PassTeamMatchParameters(int teamId, int matchId)
        {
            var newTeamMatches = new TeamMatches
            {
                TeamId  = teamId,
                MatchId = matchId,
            };

            return(newTeamMatches);
        }
        public async void CreateTeamMatch(int teamId, int matchId)
        {
            try
            {
                TeamMatches teamMatch = PassTeamMatchParameters(teamId, matchId);

                await _context.TeamMatches.AddAsync(teamMatch);

                await _context.SaveChangesAsync();
            }
            catch (Exception)
            {
                throw new GlobalException(GlobalExceptionMessage.GlobalErrorMessage);
            }
        }