public ActionResult Create(Client Client) { try { var cp = new ClientProcess(); cp.insertClient(Client); DataCache.Instance.ClientListRemove(); return(RedirectToAction("Index")); } catch { return(View()); } }
public ActionResult Create(Client Client) { try { var cp = new ClientProcess(); cp.insertClient(Client); DataCache.Instance.ClientListRemove(); return(RedirectToAction("Index")); } catch { return(View()); } }