// GET: Capacitor/CalcCap
 public ActionResult Index()
 {
     try
     {
         Capacitors capacitor = new Capacitors();
         return(View(capacitor));
     }
     catch (Exception e)
     {
         DataLink.LogError(e);
         throw;
     }
 }
 public ActionResult Index(Capacitors capacitor)
 {
     try
     {
         if (ModelState.IsValid)
         {
             //Do stuff here
         }
         return(View());
     }
     catch (Exception e)
     {
         DataLink.LogError(e);
         throw;
     }
 }