Esempio n. 1
0
 public IHttpActionResult GetLoggedInLeadersGroupsParticipants(int?groupId = null)
 {
     return(Authorized(token =>
     {
         try
         {
             var list = _serveService.GetLeaderGroupsParticipants(token, groupId);
             return Ok(list);
         }
         catch (Exception ex)
         {
             var apiError = new ApiErrorDto("Get Leaders Groups Participants Failed", ex);
             throw new HttpResponseException(apiError.HttpResponseMessage);
         }
     }));
 }