public async Task <IEnumerable <TipRead> > GetTipsByPlatform(Guid platformId) { var tips = await _repository.GetTipsByPlatform(platformId); return(tips.Select(tip => new TipRead(tip))); }
public async Task <IEnumerable <TipRead> > GetTipsByPlatform(Guid platformId) { var tips = await _repository.GetTipsByPlatform(platformId); return(tips.Select(tip => new TipRead(tip))); }