public async Task <IActionResult> Restart() { minecraftService.RestartServer(); return(Redirect("index")); }
public Task Restart() { minecraftService.RestartServer(); return(Task.CompletedTask); }