Ejemplo n.º 1
0
        public ActionResult CreateOrEdit(Branch branch)
        {
            if (this.ModelState.IsValid)
            {
                branch = branchService.CreateOrEditBranch(branch);
                return(RedirectToAction("Index"));
            }

            return(View("Form", branch));
        }