public Task <ActionResult> GetListOfIntsAsync([FromServices] IGetListOfIntsHandler handler, CancellationToken cancellationToken)
        {
            if (handler is null)
            {
                throw new ArgumentNullException(nameof(handler));
            }

            return(InvokeGetListOfIntsAsync(handler, cancellationToken));
        }
 private static async Task <ActionResult> InvokeGetListOfIntsAsync([FromServices] IGetListOfIntsHandler handler, CancellationToken cancellationToken)
 {
     return(await handler.ExecuteAsync(cancellationToken));
 }