public async Task <IActionResult> OnPostAsync(StartCycleCommand cmd) { await Registry.ExecutorAsync.ExecuteAsync(new ExecutionContext { Executable = cmd, }); return(Redirect("Index")); }
public void OnGet() { Cmd = new StartCycleCommand { BlueprintId = -1 }; }