private Response Restart() { _lifecycleService.Restart(); return("".AsResponse()); }
private object Restart() { _lifecycleService.Restart(); return(""); }
private object Restart() { Task.Factory.StartNew(() => _lifecycleService.Restart()); return(new { Restarting = true }); }
private Response Restart() { Task.Factory.StartNew(() => _lifecycleService.Restart()); return(new { Restarting = true }.AsResponse()); }