public ActionResult Edit(ChargeCard model) { try { _chargeSrv.Save(model); return(RedirectToAction("Index")); } catch (Exception ex) { return(View("Edit", model)); //throw ex; //return View(); } }