OrganizationUserFetch() 공개 정적인 메소드

public static OrganizationUserFetch ( int organizationUserId ) : OrganizationUser
organizationUserId int
리턴 OrganizationUser
        public static bool OrganizationUserDelete(OrganizationUser organizationUser)
        {
            OrganizationUserRepository.AuthorizeOrganizationUser(organizationUser.OrganizationId);

            if (OrganizationUserRepository.OrganizationUserFetch(
                    organizationUser.OrganizationId, organizationUser.UserId).RoleId == (int)Role.Owner)
            {
                throw new NotSupportedException("You cannot delete the owner of a organization");
            }

            OrganizationUser.DeleteOrganizationUser(
                new OrganizationUserMemberDataCriteria
            {
                OrganizationUserMemberId = organizationUser.OrganizationUserMemberId
            });

            return(true);
        }
 public static bool OrganizationUserDelete(int organizationId)
 {
     return(OrganizationUserRepository.OrganizationUserDelete(
                OrganizationUserRepository.OrganizationUserFetch(organizationId)));
 }