public TravelController(IMediator mediator, IUserAuthorizeService authorizeService) { _mediator = mediator; _authorizeService = authorizeService; isAdmin = _authorizeService.IsAdminForDomain(); email = _authorizeService.GetEmail(); userId = _authorizeService.GetId(); }
public AzureGroupHandler(IUserAuthorizeService authorizeService) { _authorizeService = authorizeService; }