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