public GetBoardRequest(GetBoardByIdOptions opts) { CreateVerbosityCommand = () => new SetVerbosityCommand(opts); CreateGetEntityQuery = () => new GetBoardByIdQuery(opts); CreateLogEntityCommand = board => new LogBoardCommand(board, opts, opts.ToInclusionConfiguration()); CreateWriteEntityCommand = board => new WriteBoardCommand(board, opts, opts.ToInclusionConfiguration()); }
public GetBoardByIdHostedService( GetBoardByIdOptions options, IGetEntityRequestHandler <GetBoardModel, BoardInclusionConfiguration> getRequestAggreg ) { _options = options; _getRequestAggreg = getRequestAggreg; }