コード例 #1
0
 private List <GroupContactDTO> GroupMembersThatAreServingForEvent(int groupId, int eventId)
 {
     return(_mpGroupRepository.getEventParticipantsForGroup(groupId, eventId)
            .Select(part => new GroupContactDTO
     {
         ContactId = part.ContactId,
         DisplayName = part.LastName + ", " + part.NickName
     }).ToList());
 }