예제 #1
0
        public async Task <IActionResult> OnPostAsync(StartCycleCommand cmd)
        {
            await Registry.ExecutorAsync.ExecuteAsync(new ExecutionContext
            {
                Executable = cmd,
            });

            return(Redirect("Index"));
        }
예제 #2
0
 public void OnGet()
 {
     Cmd = new StartCycleCommand {
         BlueprintId = -1
     };
 }