コード例 #1
0
 public TravelController(IMediator mediator, IUserAuthorizeService authorizeService)
 {
     _mediator         = mediator;
     _authorizeService = authorizeService;
     isAdmin           = _authorizeService.IsAdminForDomain();
     email             = _authorizeService.GetEmail();
     userId            = _authorizeService.GetId();
 }
コード例 #2
0
 public AzureGroupHandler(IUserAuthorizeService authorizeService)
 {
     _authorizeService = authorizeService;
 }