コード例 #1
0
        public IBOIdentityUserRole BOIdentityUserRole(IIdentityUserRoleRepository repo)
        {
            BOIdentityUserRole boIdentityUserRole = (BOIdentityUserRole)BOIdentityUserRole();

            boIdentityUserRole.Repository = repo;
            return(boIdentityUserRole);
        }
コード例 #2
0
        public IBOIdentityUserRole BOIdentityUserRole()
        {
            var boIdentityUserRole = new BOIdentityUserRole()
            {
                UserId = this.UserId,
                RoleId = this.RoleId
            };

            return(boIdentityUserRole);
        }