コード例 #1
0
 public async Task <List <CountryDto> > GetAll()
 => (await _countryRepository.GetAllAsync())
 .Map(ct => new CountryDto(ct.Id, ct.Name, ct.IconImage))
 .ToList();