예제 #1
0
 public IHttpActionResult GetDoesUserLeadSomeGroup([FromUri] int contactId)
 {
     try
     {
         bool doesUserLeadSomeGroup = _finderService.DoesUserLeadSomeGroup(contactId);
         return(Ok(doesUserLeadSomeGroup));
     }
     catch (Exception ex)
     {
         var apiError = new ApiErrorDto("Doesuserleadesomegroup call failed", ex);
         throw new HttpResponseException(apiError.HttpResponseMessage);
     }
 }