[HttpPost] //use this instead public ActionResult Promise(Solve equation) { equation.Calculate(); //calls this return(View(equation)); }