public async Task <Match> CreateMatchAsync(Match newMatch) { await _teamServices.CheckIfTeamExcist(newMatch); try { Match match = PassMatchParameters(newMatch); await _context.Matches.AddAsync(match); await _context.SaveChangesAsync(); _teamMatchServices.HandleNewTeamMatchRequest(match); return(match); } catch (Exception) { throw new GlobalException(GlobalExceptionMessage.GlobalErrorMessage); } }