public IActionResult GetState() { try { var result = _branch.GetState(); return(Ok(result)); } catch (Exception ex) { throw ex; } }