public void Execute(WorkerRunner runner) { try { Result = runner.Invoke(); } catch (Exception e) { IsSuccess = false; Message = e.Message; } }
public ActionResult(WorkerRunner runner) : base() { IsSuccess = true; Message = ""; Execute(runner); }