public IActionResult Config(string rig) { var rigConfig = APIComm.GetRigConfig(rig).Result; ViewBag.Address = rig; return(View("Config", rigConfig)); }
public IActionResult SetPrimaryConnectioins(string rig) { ViewBag.Address = rig; var rigConfig = APIComm.GetRigConfig(rig).Result; var primaryConn = rigConfig.PrimaryConnection; return(View("SetConnection", primaryConn)); }