public ContentQueries( IContentsProvider contentsService, IContentsAuthorizationMiddleware auth = null) { _contentsService = contentsService ?? throw new ArgumentNullException(nameof(contentsService)); _auth = auth; }
public UpdateContentCommandHandler( IContentsProvider contentsService, IContentsAuthorizationMiddleware auth = null) { _contentsService = contentsService ?? throw new ArgumentNullException(nameof(contentsService)); _auth = auth; }