public async Task <List <Competition> > AllForCompLocationAsync(int locationId) { return((await Uow.Competition.AllForCompLocationAsync(locationId)) .Select(e => CompetitionMapper.MapFromInternal(e)).ToList()); }
public async Task <List <BLL.App.DTO.Competition> > AllForUserAsync(int userId) { return((await Uow.Competition.AllForUserAsync(userId)).Select(e => CompetitionMapper.MapFromInternal(e)) .ToList()); }