Esempio n. 1
0
 private Response Restart()
 {
     _lifecycleService.Restart();
     return("".AsResponse());
 }
Esempio n. 2
0
 private object Restart()
 {
     _lifecycleService.Restart();
     return("");
 }
Esempio n. 3
0
 private object Restart()
 {
     Task.Factory.StartNew(() => _lifecycleService.Restart());
     return(new { Restarting = true });
 }
Esempio n. 4
0
 private Response Restart()
 {
     Task.Factory.StartNew(() => _lifecycleService.Restart());
     return(new { Restarting = true }.AsResponse());
 }