public async Task <IActionResult> GetBriefListStadiums() { var stadiums = await _stadiumService.GetBriefListAsync(); var returnStadiums = _mapper.Map <IEnumerable <StadiumBriefListDto> >(stadiums); return(Ok(returnStadiums)); }
public async Task <IActionResult> GetBriefListStadiums() { var stadiums = await _stadiumService.GetBriefListAsync(); var returnStadiums = _mapper.Map <IEnumerable <StadiumBriefListDto> >(stadiums); return(Ok(returnStadiums)); }