Example #1
0
 public IHttpActionResult GetParticipantsForGroup([FromUri] int groupId)
 {
     try
     {
         var list = _finderService.GetParticipantsForGroup(groupId);
         return(Ok(list));
     }
     catch (Exception ex)
     {
         var apiError = new ApiErrorDto("Get Group Participants Failed", ex);
         throw new HttpResponseException(apiError.HttpResponseMessage);
     }
 }