コード例 #1
0
        public async Task <IActionResult> List(int apartmentId)
        {
            var items = (await _repository.ListAsync(apartmentId)).Select(GetResidentDTO.FromResident);

            return(Ok(items));
        }