public override void Act() { try { Task.WaitAll(CaptureService.CaptureDocument(Request, default)); } catch (AggregateException ex) { Catched = ex.InnerException; } catch (Exception ex) { Catched = ex; } }