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