Exemplo n.º 1
0
 public ActionResult RangeRoot(ExchangeRangeViewModel exchangeRange)
 {
     Trace.WriteLine("RangeRoot for exchangeRange.");
     if (ModelState.IsValid)
     {
         Trace.WriteLine("Model is valid. Be ready to request the range.");
         return(RedirectToAction("Range", exchangeRange.ToRouteValues()));
     }
     Trace.WriteLine("Model is not valid.");
     return(View(exchangeRange));
 }