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