Exemplo n.º 1
0
        public ActionResult editTerm(CreateEditTermViewModel input)
        {
            Service.EditTerm(input.Creating);

            if (ModelState.IsValid)
            {
                return(RedirectToAction("Terms"));//redirect to term list
            }
            else
            {
                return(View(input));//return view with validation summary
            }
        }