public virtual void AddContactToOrganization(FoundationOrganization organization, FoundationContact contact, B2BUserRoles userRole) { contact.FoundationOrganization = organization; contact.UserRole = userRole.ToString(); contact.SaveChanges(); }
public void AddContactToOrganization(B2BOrganization organization, B2BContact contact, B2BUserRoles userRole) { contact.B2BOrganization = organization; contact.UserRole = userRole.ToString(); contact.SaveChanges(); }