コード例 #1
0
        public async Task <IEnumerable <RecipientDTO> > GetAllWithGroup()
        {
            var recipients = await _repo.GetAllWithGroup();

            var recipientsDTO = recipients.Select(rec => RecipientToDTO(rec));

            return(recipientsDTO);
        }