public IActionResult HexCalculator(HexCalculator calc, string command) { if (command == null) { return(View()); } calc.hexOperation(command); return(View(calc)); }