public ChangeRoleUseCase(
     ICurrentUserService currentUser,
     IIdentityService identityService,
     IChangeRoleOutputPort outputPort)
 {
     this.currentUser     = currentUser;
     this.identityService = identityService;
     this.outputPort      = outputPort;
 }
示例#2
0
 public ChangeRoleUseCase(IUserRepository userRepository, IChangeRoleOutputPort outputPort)
 {
     this.userRepository = userRepository;
     this.outputPort     = outputPort;
 }