public async Task <List <TeamDto> > GetAll() { return(await _matchModule.ExecuteQueryAsync(new GetAllTeamsQuery())); }
public async Task <MatchDto> GetMatchById(Guid id) { return(await _matchModule.ExecuteQueryAsync(new GetMatchByIdQuery(id))); }