Beispiel #1
0
 public IHttpActionResult RemoveUserOrganization(Guid userId, Guid organizationId)
 {
     if (userId == Guid.Empty)
     {
         throw new ArgumentNullException("userId");
     }
     if (organizationId == Guid.Empty)
     {
         throw new ArgumentNullException("organizationId");
     }
     identityManagementService.RemoveUserOrganization(userId, organizationId);
     return(Ok());
 }