Ejemplo n.º 1
0
 public static ConferenceResponse Map(ConferenceDetailsResponse response)
 {
     return(new ConferenceResponse()
     {
         Id = response.Id,
         HearingRefId = response.HearingId,
         Case_name = response.CaseName,
         Participants = ParticipantsResponseMapper.Map(response.Participants),
         Status = response.CurrentStatus
     });
 }
 public static List <ConferenceResponse> Map(ICollection <ConferenceForAdminResponse> responses)
 {
     return(responses.Select(response => new ConferenceResponse()
     {
         Id = response.Id,
         HearingRefId = response.HearingRefId,
         Case_name = response.CaseName,
         Participants = ParticipantsResponseMapper.Map(response.Participants),
         Status = response.Status
     })
            .ToList());
 }