I'm doing a small exercise of operations consuming a Web Service, but I can not find a way to show the result in the view, I'm not using Model.
controller
{
return View();
}
[HttpPost]
public ActionResult Index(int primero, int segundo)
{
// Creación de un objeto de referencia del servicio web
ServiceReference1.CalculatorSoapClient multi = new ServiceReference1.CalculatorSoapClient();
// llama y almacena el resultado del servicio web en la variable
var multiplicac = multi.Multiply(primero, segundo);
return View();
}