public async Task <IEnumerable <SeasonDto> > Get(Guid clubId) { var club = await _clubService.GetFullClubExceptScores(clubId); return(_mapper.Map <List <SeasonDto> >(club.Seasons)); }
public async Task <ClubDto> Get([FromRoute] string identifier) { var club = await _clubService.GetFullClubExceptScores(identifier); return(_mapper.Map <ClubDto>(club)); }