Exemplo n.º 1
0
        private AssociateResponse HandleAssociate(OrganizationRequest orgRequest, EntityReference userRef)
        {
            var request = MakeRequest <AssociateRequest>(orgRequest);
            var resp    = new AssociateResponse();

            dataMethods.Associate(request.Target, request.Relationship, request.RelatedEntities, userRef);
            return(resp);
        }