Beispiel #1
0
        // POST: Clients/Create
        public ActionResult Create(Client client)
        {
            var cp = new ClientProcess();

            cp.Insert(client);
            return(RedirectToAction("ProductList", "Product", new { area = "Products" }));
        }
        // POST: Clients/Create
        public ActionResult Create(Client client)
        {
            var cp = new ClientProcess();

            cp.Insert(client);
            return(RedirectToAction("Index"));
        }