//public ActionResult index() //{ // return View(); //} // GET: SubRF/CalcSubRF public ActionResult Index() { try { SubRF powerSubRF = new SubRF(); return(View(powerSubRF)); } catch (Exception e) { DataLink.LogError(e); throw; } }
public ActionResult Index(SubRF subRF) { try { if (ModelState.IsValid) { //Do stuff here } return(View()); } catch (Exception e) { DataLink.LogError(e); throw; } }