Esempio n. 1
0
 public ActionResult Index(Summator summator)
 {
     summator.Sum = summator.FirstNumber + summator.SecondNumber;
     return View(summator);
 }
Esempio n. 2
0
 public ActionResult Index()
 {
     Summator summator = new Summator();
     return View(summator);
 }