public async Task <IEnumerable <ClubSummaryViewModel> > GetAllClubs() { var clubs = await clubService.GetAllClubs(); return(mapper.Map <IEnumerable <Club>, IEnumerable <ClubSummaryViewModel> >(clubs)); }
public async Task <IEnumerable <ClubSummaryViewModel> > GetAllClubs() { var clubs = await clubService.GetAllClubs(); return(mapper.Map <IEnumerable <Club>, IEnumerable <ClubSummaryViewModel> >(clubs)); }