Ejemplo n.º 1
0
        // POST: Clients/Create
        public ActionResult Create(Client client)
        {
            var cp = new ClientProcess();

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

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