Esempio n. 1
0
 public IActionResult SetChannel(string channel)
 {
     myHub.ChangeChannel(channel, j64Config.ChannelDevice, j64Config.ChanneKeyPauseInterval);
     return(View("Index", myHomeViewModel));
 }
Esempio n. 2
0
 public IActionResult SetChannel(string channel)
 {
     myHub.ChangeChannel(channel, j64Config.ChannelDevice, j64Config.ChanneKeyPauseInterval);
     return(new ObjectResult("channel has been set"));
 }