Beispiel #1
0
 public IActionResult Calculate(CalculateCostVM calc)
 {
     if (ModelState.IsValid)
     {
         var x = service.CalculateCost(calc);
         return(View(service.CalculateCost(calc)));
     }
     else
     {
         return(View());
     }
 }